#2F5984#2F5984

#2F5984 is a mid, moderate cyan. Relative luminance 0.094; OKLCH L 45.4% C 0.085 H 250.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#2F5984
RGBrgb(47, 89, 132)
HSLhsl(210, 47%, 35%)
HSVhsv(210, 64%, 52%)
CMYKcmyk(64.4%, 32.6%, 0%, 48.2%)
CIE-LABlab(36.77, -0.34, -28.43)
CIE-LCHlch(36.77, 28.43, 269.32°)
OKLaboklab(45.42% -0.0281 -0.0803)
OKLCHoklch(45.42% 0.085 250.7)
XYZxyz(8.9080, 9.4142, 23.1730)
Luminance0.0941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5984 #845A2F
analogous
#2F8384 #2F5984 #302F84
triadic
#2F5984 #842F59 #59842F
tetradic
#2F5984 #842F83 #845A2F #2F8430
square
#2F5984 #842F83 #845A2F #2F8430
split-complementary
#2F5984 #84302F #83842F
monochromatic
#0F1C2A #1F3B57 #2F5984 #3F77B1 #6596C8

Accessibility & contrast

On white

7.28
#2F5984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2F5984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5984
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5984#FFFFFF#000000##FFFFFF
##2F59841.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475B86
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#006368
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5984;
/* rgb */ color: rgb(47, 89, 132);
/* oklch */ color: oklch(45.4% 0.085 250.7);
Tailwind
colors: {
  custom: {
    50: '#7087a8',
    500: '#2f5984',
    950: '#000000',
  },
}
SCSS
$custom: #2f5984;
$custom-light: #7087a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5984",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 132
  },
  "hsl": {
    "h": 210.353,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45421,
    "c": 0.08507,
    "h": 250.7
  },
  "luminance": 0.09415
}

Semantic roles & 50–950 ramp

primary
#2F5984
secondary
#AF8860
accent
#9551D7
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5984

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

Preview Lab → · Contrast checker → · Palette generator →

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