#2F4E79#2F4E79

#2F4E79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.1% C 0.081 H 256.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2F4E79
RGBrgb(47, 78, 121)
HSLhsl(215, 44%, 33%)
HSVhsv(215, 61%, 47%)
CMYKcmyk(61.2%, 35.5%, 0%, 52.5%)
CIE-LABlab(32.77, 2.76, -27.93)
CIE-LCHlch(32.77, 28.07, 275.64°)
OKLaboklab(42.1% -0.0185 -0.079)
OKLCHoklch(42.1% 0.081 256.8)
XYZxyz(7.3467, 7.4330, 19.1330)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E79 #795A2F
analogous
#2F7379 #2F4E79 #352F79
triadic
#2F4E79 #792F4E #4E792F
tetradic
#2F4E79 #792F73 #795A2F #2F7935
square
#2F4E79 #792F73 #795A2F #2F7935
split-complementary
#2F4E79 #79352F #73792F
monochromatic
#0D1521 #1E324D #2F4E79 #406AA5 #6189C2

Accessibility & contrast

On white

8.44
#2F4E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F4E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E79
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E79#FFFFFF#000000##FFFFFF
##2F4E791.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#324A78
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f4e79;
/* rgb */ color: rgb(47, 78, 121);
/* oklch */ color: oklch(42.1% 0.081 256.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fa0',
    500: '#2f4e79',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e79;
$custom-light: #6e7fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e79",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 121
  },
  "hsl": {
    "h": 214.865,
    "s": 44.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42103,
    "c": 0.08109,
    "h": 256.8
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#2F4E79
secondary
#A8885B
accent
#9E54D4
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #2F4E79

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

Preview Lab → · Contrast checker → · Palette generator →

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