#2B5F7D#2B5F7D

#2B5F7D is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.4% C 0.074 H 236.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2B5F7D
RGBrgb(43, 95, 125)
HSLhsl(202, 49%, 33%)
HSVhsv(202, 66%, 49%)
CMYKcmyk(65.6%, 24%, 0%, 51%)
CIE-LABlab(38.16, -7.35, -21.99)
CIE-LCHlch(38.16, 23.18, 251.52°)
OKLaboklab(46.36% -0.0405 -0.0617)
OKLCHoklch(46.36% 0.074 236.7)
XYZxyz(8.7887, 10.1778, 20.8994)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F7D #7D492B
analogous
#2B7D72 #2B5F7D #2B367D
triadic
#2B5F7D #7D2B5F #5F7D2B
tetradic
#2B5F7D #722B7D #7D492B #367D2B
square
#2B5F7D #722B7D #7D492B #367D2B
split-complementary
#2B5F7D #7D2B36 #7D722B
monochromatic
#0C1A22 #1B3C4F #2B5F7D #3B82AB #5CA0C7

Accessibility & contrast

On white

6.92
#2B5F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2B5F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F7D
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F7D#FFFFFF#000000##FFFFFF
##2B5F7D1.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7E
Deuteranopia (green-blind)
#46567D
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2b5f7d;
/* rgb */ color: rgb(43, 95, 125);
/* oklch */ color: oklch(46.4% 0.074 236.7);
Tailwind
colors: {
  custom: {
    50: '#6d8ca2',
    500: '#2b5f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f7d;
$custom-light: #6d8ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f7d",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 201.951,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.07379,
    "h": 236.7
  },
  "luminance": 0.10179
}

Semantic roles & 50–950 ramp

primary
#2B5F7D
secondary
#AD7657
accent
#824FD8
background
#F6F8FA
surface
#ECF0F3
border
#C7CBCD
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2B5F7D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2B5F7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva