#2F4E76#2F4E76

#2F4E76 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.077 H 255.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2F4E76
RGBrgb(47, 78, 118)
HSLhsl(214, 43%, 32%)
HSVhsv(214, 60%, 46%)
CMYKcmyk(60.2%, 33.9%, 0%, 53.7%)
CIE-LABlab(32.61, 1.68, -26.31)
CIE-LCHlch(32.61, 26.37, 273.65°)
OKLaboklab(41.93% -0.0194 -0.0742)
OKLCHoklch(41.93% 0.077 255.4)
XYZxyz(7.1655, 7.3605, 18.1791)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E76 #76572F
analogous
#2F7176 #2F4E76 #342F76
triadic
#2F4E76 #762F4E #4E762F
tetradic
#2F4E76 #762F71 #76572F #2F7634
square
#2F4E76 #762F71 #76572F #2F7634
split-complementary
#2F4E76 #76342F #71762F
monochromatic
#0C141E #1E314A #2F4E76 #406BA2 #608AC0

Accessibility & contrast

On white

8.49
#2F4E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F4E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E76
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E76#FFFFFF#000000##FFFFFF
##2F4E761.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#344A75
Tritanopia (blue-blind)
#00575C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4e76;
/* rgb */ color: rgb(47, 78, 118);
/* oklch */ color: oklch(41.9% 0.077 255.4);
Tailwind
colors: {
  custom: {
    50: '#6e7f9d',
    500: '#2f4e76',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e76;
$custom-light: #6e7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e76",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 118
  },
  "hsl": {
    "h": 213.803,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41927,
    "c": 0.07673,
    "h": 255.4
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#2F4E76
secondary
#A7855A
accent
#9C55D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E76

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

Preview Lab → · Contrast checker → · Palette generator →

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