#2F5981#2F5981

#2F5981 is a mid, moderate cyan. Relative luminance 0.093; OKLCH L 45.3% C 0.081 H 249.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2F5981
RGBrgb(47, 89, 129)
HSLhsl(209, 47%, 35%)
HSVhsv(209, 64%, 51%)
CMYKcmyk(63.6%, 31%, 0%, 49.4%)
CIE-LABlab(36.62, -1.42, -26.83)
CIE-LCHlch(36.62, 26.87, 266.97°)
OKLaboklab(45.25% -0.0291 -0.0756)
OKLCHoklch(45.25% 0.081 249)
XYZxyz(8.7057, 9.3333, 22.1073)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5981 #81572F
analogous
#2F8180 #2F5981 #2F3081
triadic
#2F5981 #812F59 #59812F
tetradic
#2F5981 #802F81 #81572F #30812F
square
#2F5981 #802F81 #81572F #30812F
split-complementary
#2F5981 #812F30 #81802F
monochromatic
#0E1B27 #1F3A54 #2F5981 #3F78AE #6496C6

Accessibility & contrast

On white

7.33
#2F5981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2F5981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F5981
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5981#FFFFFF#000000##FFFFFF
##2F59811.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485B83
Deuteranopia (green-blind)
#3D5380
Tritanopia (blue-blind)
#006267
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2f5981;
/* rgb */ color: rgb(47, 89, 129);
/* oklch */ color: oklch(45.3% 0.081 249.0);
Tailwind
colors: {
  custom: {
    50: '#7087a5',
    500: '#2f5981',
    950: '#000000',
  },
}
SCSS
$custom: #2f5981;
$custom-light: #7087a5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5981",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 129
  },
  "hsl": {
    "h": 209.268,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.08104,
    "h": 249
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#2F5981
secondary
#AD855E
accent
#9252D6
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2F5981

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

Preview Lab → · Contrast checker → · Palette generator →

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