#2F4E70#2F4E70

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

Color values

HEX#2F4E70
RGBrgb(47, 78, 112)
HSLhsl(211, 41%, 31%)
HSVhsv(211, 58%, 44%)
CMYKcmyk(58%, 30.4%, 0%, 56.1%)
CIE-LABlab(32.31, -0.45, -23.04)
CIE-LCHlch(32.31, 23.04, 268.88°)
OKLaboklab(41.59% -0.0213 -0.0647)
OKLCHoklch(41.59% 0.068 251.8)
XYZxyz(6.8203, 7.2224, 16.3607)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E70 #70512F
analogous
#2F6E70 #2F4E70 #302F70
triadic
#2F4E70 #702F4E #4E702F
tetradic
#2F4E70 #702F6E #70512F #2F7030
square
#2F4E70 #702F6E #70512F #2F7030
split-complementary
#2F4E70 #70302F #6E702F
monochromatic
#0B121A #1D3045 #2F4E70 #416C9B #5E8BBB

Accessibility & contrast

On white

8.59
#2F4E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F4E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E70
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E70#FFFFFF#000000##FFFFFF
##2F4E701.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405071
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#03565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4e70;
/* rgb */ color: rgb(47, 78, 112);
/* oklch */ color: oklch(41.6% 0.068 251.8);
Tailwind
colors: {
  custom: {
    50: '#6d7f99',
    500: '#2f4e70',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e70;
$custom-light: #6d7f99;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e70",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 112
  },
  "hsl": {
    "h": 211.385,
    "s": 40.881,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41587,
    "c": 0.06815,
    "h": 251.8
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#2F4E70
secondary
#A17F5A
accent
#9757D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E70

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

Preview Lab → · Contrast checker → · Palette generator →

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