Skip to content

#2B5F7D Color

#2B5F7D is rgb(43, 95, 125) in RGB, hsl(202, 49%, 33%) in HSL, and about cmyk(66%, 24%, 0%, 51%) in CMYK. It has no registered color name of its own — the closest is Blue Sapphire (#126180), very hard to tell apart at ΔE 4.53. White text is the more readable choice on this background.

#2B5F7D
HEX#2B5F7D
RGBrgb(43, 95, 125)
HSLhsl(202, 49%, 33%)
HSVhsv(202, 66%, 49%)
CMYKcmyk(66%, 24%, 0%, 51%)
OKLCHoklch(46.4% 0.074 236.7)
LABlab(37.81% -10.36 -22.47)
LCHlch(37.81% 24.74 245.26)

What #2B5F7D Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #2B5F7D, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every blue in the library.

#2B5F7D Channel Values

How #2B5F7D breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 43 · G 95 · B 1258-bit channels as sent to the display
HSLH 202° · S 49% · L 33%Easiest model for building lighter and darker variants
HSVH 202° · S 66% · V 49%Matches the picker in most design tools
CMYKC 66% · M 24% · Y 0% · K 51%Approximate ink mix; confirm with an ICC profile before printing
Luminance6.92:1 vs white · 3.04:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #2B5F7D background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text6.92:1AA normal AA large AAA normal
Fails AABlack text3.04:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #2B5F7D in the contrast checker.

Colors That Go With #2B5F7D

Pairings derived from color-wheel relationships. The complementary color sits opposite #2B5F7D; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #2B5F7D

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #2B5F7D.

How #2B5F7D Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#2B5F7D
Protanopia#59597D
Protanomaly#4A5B7D
Deuteranopia#52527E
Deuteranomaly#46587D
Tritanopia#1D6363
Tritanomaly#24626F
Achromatopsia#5A5A5A

Test a full palette in the color blindness simulator.

Using #2B5F7D in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-2b5f7d: #2B5F7D;
CSS backgroundbackground-color: #2B5F7D;
Tailwind configcolors: { 'color-2b5f7d': '#2B5F7D' }
SwiftUIColor(red: 0.169, green: 0.373, blue: 0.490)
Android XML<color name="color_2b5f7d">#2B5F7D</color>
SVG fillfill="#2B5F7D"

More Blue Colors

#2B5F7D sits in the blue family. These are its neighbours across that family's full range, each with its own breakdown.

#2B5F7D Frequently Asked Questions

What color is #2B5F7D?

#2B5F7D is a dark blue — rgb(43, 95, 125) in RGB and hsl(202, 49%, 33%) in HSL. It carries no registered color name of its own; the closest named color is Blue Sapphire (#126180), which is very hard to tell apart at a CIE76 distance of 4.53.

What is the RGB value of #2B5F7D?

#2B5F7D is rgb(43, 95, 125) — red 43, green 95, and blue 125 on the 0-255 scale.

What is the CMYK value of #2B5F7D?

#2B5F7D converts to approximately cmyk(66%, 24%, 0%, 51%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #2B5F7D be black or white?

White text is the more readable choice. #2B5F7D scores 6.92:1 against white and 3.04:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #2B5F7D as a CSS color keyword?

No. #2B5F7D is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is steelblue (#4682B4) at a CIE76 distance of 17.67, which is visibly different.

Open #2B5F7D in a Tool

Keep exploring: every blue in the color library, the guide to shades of blue, or the full color library.