#2F5D9A#2F5D9A

#2F5D9A is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.7% C 0.111 H 256.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2F5D9A
RGBrgb(47, 93, 154)
HSLhsl(214, 53%, 39%)
HSVhsv(214, 69%, 60%)
CMYKcmyk(69.5%, 39.6%, 0%, 39.6%)
CIE-LABlab(39.18, 5.20, -37.93)
CIE-LCHlch(39.18, 38.28, 277.80°)
OKLaboklab(47.7% -0.0264 -0.108)
OKLCHoklch(47.7% 0.111 256.3)
XYZxyz(10.9173, 10.7650, 32.0681)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5D9A #9A6C2F
analogous
#2F939A #2F5D9A #372F9A
triadic
#2F5D9A #9A2F5D #5D9A2F
tetradic
#2F5D9A #9A2F93 #9A6C2F #2F9A37
square
#2F5D9A #9A2F93 #9A6C2F #2F9A37
split-complementary
#2F5D9A #9A372F #939A2F
monochromatic
#12243C #21416B #2F5D9A #417AC5 #709BD3

Accessibility & contrast

On white

6.66
#2F5D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2F5D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5D9A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5D9A#FFFFFF#000000##FFFFFF
##2F5D9A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41629C
Deuteranopia (green-blind)
#315899
Tritanopia (blue-blind)
#006B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5d9a;
/* rgb */ color: rgb(47, 93, 154);
/* oklch */ color: oklch(47.7% 0.111 256.3);
Tailwind
colors: {
  custom: {
    50: '#748ab8',
    500: '#2f5d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2f5d9a;
$custom-light: #748ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5d9a",
  "rgb": {
    "r": 47,
    "g": 93,
    "b": 154
  },
  "hsl": {
    "h": 214.206,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.47695,
    "c": 0.11117,
    "h": 256.3
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#2F5D9A
secondary
#BB986A
accent
#9E4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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