#2F4E78#2F4E78

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

Color values

HEX#2F4E78
RGBrgb(47, 78, 120)
HSLhsl(215, 44%, 33%)
HSVhsv(215, 61%, 47%)
CMYKcmyk(60.8%, 35%, 0%, 52.9%)
CIE-LABlab(32.72, 2.40, -27.39)
CIE-LCHlch(32.72, 27.50, 275.00°)
OKLaboklab(42.04% -0.0188 -0.0774)
OKLCHoklch(42.04% 0.08 256.4)
XYZxyz(7.2856, 7.4086, 18.8117)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E78 #78592F
analogous
#2F7278 #2F4E78 #352F78
triadic
#2F4E78 #782F4E #4E782F
tetradic
#2F4E78 #782F72 #78592F #2F7835
square
#2F4E78 #782F72 #78592F #2F7835
split-complementary
#2F4E78 #78352F #72782F
monochromatic
#0D1520 #1E314C #2F4E78 #406BA4 #6089C1

Accessibility & contrast

On white

8.46
#2F4E78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E78
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E78#FFFFFF#000000##FFFFFF
##2F4E781.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#334A77
Tritanopia (blue-blind)
#00575D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4e78;
/* rgb */ color: rgb(47, 78, 120);
/* oklch */ color: oklch(42.0% 0.080 256.4);
Tailwind
colors: {
  custom: {
    50: '#6e7f9f',
    500: '#2f4e78',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e78;
$custom-light: #6e7f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e78",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 120
  },
  "hsl": {
    "h": 214.521,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42044,
    "c": 0.07963,
    "h": 256.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#2F4E78
secondary
#A8875B
accent
#9D54D3
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #2F4E78

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

Preview Lab → · Contrast checker → · Palette generator →

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