#2F4D74#2F4D74

#2F4D74 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.6% C 0.075 H 255.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2F4D74
RGBrgb(47, 77, 116)
HSLhsl(214, 42%, 32%)
HSVhsv(214, 59%, 45%)
CMYKcmyk(59.5%, 33.6%, 0%, 54.5%)
CIE-LABlab(32.20, 1.61, -25.72)
CIE-LCHlch(32.20, 25.77, 273.59°)
OKLaboklab(41.57% -0.0187 -0.0725)
OKLCHoklch(41.57% 0.075 255.5)
XYZxyz(6.9774, 7.1725, 17.5363)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4D74 #74562F
analogous
#2F7074 #2F4D74 #342F74
triadic
#2F4D74 #742F4D #4D742F
tetradic
#2F4D74 #742F70 #74562F #2F7434
square
#2F4D74 #742F70 #74562F #2F7434
split-complementary
#2F4D74 #74342F #70742F
monochromatic
#0C131D #1D3048 #2F4D74 #416AA0 #5F89BE

Accessibility & contrast

On white

8.63
#2F4D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F4D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4D74
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4D74#FFFFFF#000000##FFFFFF
##2F4D741.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4F76
Deuteranopia (green-blind)
#344973
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4d74;
/* rgb */ color: rgb(47, 77, 116);
/* oklch */ color: oklch(41.6% 0.075 255.5);
Tailwind
colors: {
  custom: {
    50: '#6d7e9c',
    500: '#2f4d74',
    950: '#000000',
  },
}
SCSS
$custom: #2f4d74;
$custom-light: #6d7e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4d74",
  "rgb": {
    "r": 47,
    "g": 77,
    "b": 116
  },
  "hsl": {
    "h": 213.913,
    "s": 42.331,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41566,
    "c": 0.07491,
    "h": 255.5
  },
  "luminance": 0.07173
}

Semantic roles & 50–950 ramp

primary
#2F4D74
secondary
#A5845A
accent
#9C56D2
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2F4D74

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

Preview Lab → · Contrast checker → · Palette generator →

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