#2F5B96#2F5B96

#2F5B96 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 47.0% C 0.108 H 256.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2F5B96
RGBrgb(47, 91, 150)
HSLhsl(214, 52%, 39%)
HSVhsv(214, 69%, 59%)
CMYKcmyk(68.7%, 39.3%, 0%, 41.2%)
CIE-LABlab(38.35, 4.99, -36.84)
CIE-LCHlch(38.35, 37.18, 277.72°)
OKLaboklab(46.98% -0.0253 -0.1048)
OKLCHoklch(46.98% 0.108 256.4)
XYZxyz(10.4164, 10.2875, 30.2850)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5B96 #966A2F
analogous
#2F8E96 #2F5B96 #362F96
triadic
#2F5B96 #962F5B #5B962F
tetradic
#2F5B96 #962F8E #966A2F #2F9636
square
#2F5B96 #962F8E #966A2F #2F9636
split-complementary
#2F5B96 #96362F #8E962F
monochromatic
#122239 #203F67 #2F5B96 #3F78C3 #6E98D2

Accessibility & contrast

On white

6.87
#2F5B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F5B96
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5B96#FFFFFF#000000##FFFFFF
##2F5B961.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406098
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#006971
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2f5b96;
/* rgb */ color: rgb(47, 91, 150);
/* oklch */ color: oklch(47.0% 0.108 256.4);
Tailwind
colors: {
  custom: {
    50: '#7389b5',
    500: '#2f5b96',
    950: '#000000',
  },
}
SCSS
$custom: #2f5b96;
$custom-light: #7389b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5b96",
  "rgb": {
    "r": 47,
    "g": 91,
    "b": 150
  },
  "hsl": {
    "h": 214.369,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46976,
    "c": 0.10785,
    "h": 256.4
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#2F5B96
secondary
#B99668
accent
#9E4CDC
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2F5B96

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

Preview Lab → · Contrast checker → · Palette generator →

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