#2F4E6F#2F4E6F

#2F4E6F is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.5% C 0.067 H 251.1°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F4E6F
RGBrgb(47, 78, 111)
HSLhsl(211, 41%, 31%)
HSVhsv(211, 58%, 44%)
CMYKcmyk(57.7%, 29.7%, 0%, 56.5%)
CIE-LABlab(32.26, -0.80, -22.49)
CIE-LCHlch(32.26, 22.50, 267.96°)
OKLaboklab(41.53% -0.0216 -0.0632)
OKLCHoklch(41.53% 0.067 251.1)
XYZxyz(6.7649, 7.2003, 16.0691)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E6F #6F502F
analogous
#2F6E6F #2F4E6F #302F6F
triadic
#2F4E6F #6F2F4E #4E6F2F
tetradic
#2F4E6F #6F2F6E #6F502F #2F6F30
square
#2F4E6F #6F2F6E #6F502F #2F6F30
split-complementary
#2F4E6F #6F302F #6E6F2F
monochromatic
#0B1219 #1D3044 #2F4E6F #416C9A #5E8BBB

Accessibility & contrast

On white

8.61
#2F4E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F4E6F
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E6F#FFFFFF#000000##FFFFFF
##2F4E6F1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#38496E
Tritanopia (blue-blind)
#05565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4e6f;
/* rgb */ color: rgb(47, 78, 111);
/* oklch */ color: oklch(41.5% 0.067 251.1);
Tailwind
colors: {
  custom: {
    50: '#6d7f98',
    500: '#2f4e6f',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e6f;
$custom-light: #6d7f98;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e6f",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 111
  },
  "hsl": {
    "h": 210.938,
    "s": 40.506,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.06675,
    "h": 251.1
  },
  "luminance": 0.07201
}

Semantic roles & 50–950 ramp

primary
#2F4E6F
secondary
#A07E59
accent
#9657D0
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0D
muted
#7A7C7E

Preview Lab

Preview with #2F4E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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