#2F4E72#2F4E72

#2F4E72 is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.7% C 0.071 H 253.1°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2F4E72
RGBrgb(47, 78, 114)
HSLhsl(212, 42%, 32%)
HSVhsv(212, 59%, 45%)
CMYKcmyk(58.8%, 31.6%, 0%, 55.3%)
CIE-LABlab(32.41, 0.26, -24.13)
CIE-LCHlch(32.41, 24.14, 270.61°)
OKLaboklab(41.7% -0.0206 -0.0679)
OKLCHoklch(41.7% 0.071 253.1)
XYZxyz(6.9329, 7.2674, 16.9537)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4E72 #72532F
analogous
#2F7072 #2F4E72 #322F72
triadic
#2F4E72 #722F4E #4E722F
tetradic
#2F4E72 #722F70 #72532F #2F7232
square
#2F4E72 #722F70 #72532F #2F7232
split-complementary
#2F4E72 #72322F #70722F
monochromatic
#0B131B #1D3047 #2F4E72 #416C9D #5F8ABD

Accessibility & contrast

On white

8.56
#2F4E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F4E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4E72
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4E72#FFFFFF#000000##FFFFFF
##2F4E721.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5074
Deuteranopia (green-blind)
#374971
Tritanopia (blue-blind)
#00565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f4e72;
/* rgb */ color: rgb(47, 78, 114);
/* oklch */ color: oklch(41.7% 0.071 253.1);
Tailwind
colors: {
  custom: {
    50: '#6d7f9a',
    500: '#2f4e72',
    950: '#000000',
  },
}
SCSS
$custom: #2f4e72;
$custom-light: #6d7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4e72",
  "rgb": {
    "r": 47,
    "g": 78,
    "b": 114
  },
  "hsl": {
    "h": 212.239,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41698,
    "c": 0.07098,
    "h": 253.1
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#2F4E72
secondary
#A3815A
accent
#9856D1
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2F4E72

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

Preview Lab → · Contrast checker → · Palette generator →

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