#2F4476#2F4476

#2F4476 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.5% C 0.089 H 265.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2F4476
RGBrgb(47, 68, 118)
HSLhsl(222, 43%, 32%)
HSVhsv(222, 60%, 46%)
CMYKcmyk(60.2%, 42.4%, 0%, 53.7%)
CIE-LABlab(29.53, 8.31, -31.19)
CIE-LCHlch(29.53, 32.28, 284.93°)
OKLaboklab(39.53% -0.0072 -0.0886)
OKLCHoklch(39.53% 0.089 265.4)
XYZxyz(6.5083, 6.0461, 17.9601)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4476 #76612F
analogous
#2F6776 #2F4476 #3E2F76
triadic
#2F4476 #762F44 #44762F
tetradic
#2F4476 #762F67 #76612F #2F763E
square
#2F4476 #762F67 #76612F #2F763E
split-complementary
#2F4476 #763E2F #67762F
monochromatic
#0C121E #1E2B4A #2F4476 #405DA2 #607CC0

Accessibility & contrast

On white

9.50
#2F4476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2F4476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4476
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4476#FFFFFF#000000##FFFFFF
##2F44761.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4978
Deuteranopia (green-blind)
#254375
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2f4476;
/* rgb */ color: rgb(47, 68, 118);
/* oklch */ color: oklch(39.5% 0.089 265.4);
Tailwind
colors: {
  custom: {
    50: '#6e779e',
    500: '#2f4476',
    950: '#000000',
  },
}
SCSS
$custom: #2f4476;
$custom-light: #6e779e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4476",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 118
  },
  "hsl": {
    "h": 222.254,
    "s": 43.03,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39531,
    "c": 0.08887,
    "h": 265.4
  },
  "luminance": 0.06047
}

Semantic roles & 50–950 ramp

primary
#2F4476
secondary
#A7905A
accent
#AE55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F4476

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

Preview Lab → · Contrast checker → · Palette generator →

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