#2F4E77#2F4E77

#2F4E77 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.078 H 255.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#2F4E77
RGBrgb(47, 78, 119)
HSLhsl(214, 43%, 33%)
HSVhsv(214, 61%, 47%)
CMYKcmyk(60.5%, 34.5%, 0%, 53.3%)
CIE-LABlab(32.67, 2.04, -26.85)
CIE-LCHlch(32.67, 26.93, 274.34°)
OKLaboklab(41.99% -0.0191 -0.0758)
OKLCHoklch(41.99% 0.078 255.9)
XYZxyz(7.2253, 7.3844, 18.4938)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E77 #77582F
analogous
#2F7277 #2F4E77 #342F77
triadic
#2F4E77 #772F4E #4E772F
tetradic
#2F4E77 #772F72 #77582F #2F7734
square
#2F4E77 #772F72 #77582F #2F7734
split-complementary
#2F4E77 #77342F #72772F
monochromatic
#0C141F #1E314B #2F4E77 #406BA3 #608AC0

Accessibility & contrast

On white

8.48
#2F4E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F4E77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E77
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E77#FFFFFF#000000##FFFFFF
##2F4E771.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5179
Deuteranopia (green-blind)
#344A76
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4e77;
/* rgb */ color: rgb(47, 78, 119);
/* oklch */ color: oklch(42.0% 0.078 255.9);
Tailwind
colors: {
  custom: {
    50: '#6e7f9e',
    500: '#2f4e77',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e77;
$custom-light: #6e7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e77",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 119
  },
  "hsl": {
    "h": 214.167,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.07818,
    "h": 255.9
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#2F4E77
secondary
#A7865B
accent
#9D55D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E77

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

Preview Lab → · Contrast checker → · Palette generator →

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