#2F5F81#2F5F81

#2F5F81 is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 46.7% C 0.076 H 241.7°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2F5F81
RGBrgb(47, 95, 129)
HSLhsl(205, 47%, 35%)
HSVhsv(205, 64%, 51%)
CMYKcmyk(63.6%, 26.4%, 0%, 49.4%)
CIE-LABlab(38.50, -5.14, -23.88)
CIE-LCHlch(38.50, 24.43, 257.85°)
OKLaboklab(46.74% -0.036 -0.0671)
OKLCHoklch(46.74% 0.076 241.7)
XYZxyz(9.2255, 10.3728, 22.2806)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F5F81 #81512F
analogous
#2F817A #2F5F81 #2F3681
triadic
#2F5F81 #812F5F #5F812F
tetradic
#2F5F81 #7A2F81 #81512F #36812F
square
#2F5F81 #7A2F81 #81512F #36812F
split-complementary
#2F5F81 #812F36 #817A2F
monochromatic
#0E1D27 #1F3E54 #2F5F81 #3F80AE #649EC6

Accessibility & contrast

On white

6.83
#2F5F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2F5F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F5F81
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F5F81#FFFFFF#000000##FFFFFF
##2F5F811.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F83
Deuteranopia (green-blind)
#455780
Tritanopia (blue-blind)
#00676B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2f5f81;
/* rgb */ color: rgb(47, 95, 129);
/* oklch */ color: oklch(46.7% 0.076 241.7);
Tailwind
colors: {
  custom: {
    50: '#708ca5',
    500: '#2f5f81',
    950: '#000000',
  },
}
SCSS
$custom: #2f5f81;
$custom-light: #708ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f5f81",
  "rgb": {
    "r": 47,
    "g": 95,
    "b": 129
  },
  "hsl": {
    "h": 204.878,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.46739,
    "c": 0.07615,
    "h": 241.7
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#2F5F81
secondary
#AD7F5E
accent
#8952D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C0F
muted
#7B7D7F

Preview Lab

Preview with #2F5F81

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

Preview Lab → · Contrast checker → · Palette generator →

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