#2F5D8B#2F5D8B

#2F5D8B is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.8% C 0.091 H 250.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2F5D8B
RGBrgb(47, 93, 139)
HSLhsl(210, 49%, 36%)
HSVhsv(210, 66%, 55%)
CMYKcmyk(66.2%, 33.1%, 0%, 45.5%)
CIE-LABlab(38.37, -0.33, -30.17)
CIE-LCHlch(38.37, 30.17, 269.38°)
OKLaboklab(46.79% -0.0305 -0.0853)
OKLCHoklch(46.79% 0.091 250.3)
XYZxyz(9.7451, 10.2962, 25.8949)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D8B #8B5D2F
analogous
#2F8B8B #2F5D8B #2F2F8B
triadic
#2F5D8B #8B2F5D #5D8B2F
tetradic
#2F5D8B #8B2F8B #8B5D2F #2F8B2F
square
#2F5D8B #8B2F8B #8B5D2F #2F8B2F
split-complementary
#2F5D8B #8B2F2F #8B8B2F
monochromatic
#102030 #203E5D #2F5D8B #3E7CB9 #689ACC

Accessibility & contrast

On white

6.86
#2F5D8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2F5D8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D8B
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D8B#FFFFFF#000000##FFFFFF
##2F5D8B1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#3C568A
Tritanopia (blue-blind)
#00686D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5d8b;
/* rgb */ color: rgb(47, 93, 139);
/* oklch */ color: oklch(46.8% 0.091 250.3);
Tailwind
colors: {
  custom: {
    50: '#718aad',
    500: '#2f5d8b',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d8b;
$custom-light: #718aad;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d8b",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 139
  },
  "hsl": {
    "h": 210,
    "s": 49.462,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46794,
    "c": 0.09062,
    "h": 250.3
  },
  "luminance": 0.10297
}

Semantic roles & 50–950 ramp

primary
#2F5D8B
secondary
#B38B63
accent
#944FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2F5D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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