#2F5F89#2F5F89

#2F5F89 is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.086 H 247.2°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2F5F89
RGBrgb(47, 95, 137)
HSLhsl(208, 49%, 36%)
HSVhsv(208, 66%, 54%)
CMYKcmyk(65.7%, 30.7%, 0%, 46.3%)
CIE-LABlab(38.89, -2.30, -28.15)
CIE-LCHlch(38.89, 28.24, 265.33°)
OKLaboklab(47.17% -0.0333 -0.0794)
OKLCHoklch(47.17% 0.086 247.2)
XYZxyz(9.7782, 10.5939, 25.1916)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F89 #89592F
analogous
#2F8986 #2F5F89 #2F3289
triadic
#2F5F89 #892F5F #5F892F
tetradic
#2F5F89 #862F89 #89592F #32892F
square
#2F5F89 #862F89 #89592F #32892F
split-complementary
#2F5F89 #892F32 #89862F
monochromatic
#10202E #1F3F5B #2F5F89 #3F7FB7 #679DCB

Accessibility & contrast

On white

6.73
#2F5F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2F5F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F89
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F89#FFFFFF#000000##FFFFFF
##2F5F891.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D608B
Deuteranopia (green-blind)
#405888
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2f5f89;
/* rgb */ color: rgb(47, 95, 137);
/* oklch */ color: oklch(47.2% 0.086 247.2);
Tailwind
colors: {
  custom: {
    50: '#718cab',
    500: '#2f5f89',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f89;
$custom-light: #718cab;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f89",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 137
  },
  "hsl": {
    "h": 208,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.47169,
    "c": 0.08613,
    "h": 247.2
  },
  "luminance": 0.10595
}

Semantic roles & 50–950 ramp

primary
#2F5F89
secondary
#B28762
accent
#8F4FD8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2F5F89

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

Preview Lab → · Contrast checker → · Palette generator →

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