#2F4472#2F4472

#2F4472 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.083 H 264.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#2F4472
RGBrgb(47, 68, 114)
HSLhsl(221, 42%, 32%)
HSVhsv(221, 59%, 45%)
CMYKcmyk(58.8%, 40.4%, 0%, 55.3%)
CIE-LABlab(29.29, 6.86, -29.04)
CIE-LCHlch(29.29, 29.84, 283.29°)
OKLaboklab(39.27% -0.0081 -0.0823)
OKLCHoklch(39.27% 0.083 264.4)
XYZxyz(6.2756, 5.9530, 16.7347)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4472 #725D2F
analogous
#2F6672 #2F4472 #3C2F72
triadic
#2F4472 #722F44 #44722F
tetradic
#2F4472 #722F66 #725D2F #2F723C
square
#2F4472 #722F66 #725D2F #2F723C
split-complementary
#2F4472 #723C2F #66722F
monochromatic
#0B101B #1D2A47 #2F4472 #415E9D #5F7CBD

Accessibility & contrast

On white

9.59
#2F4472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2F4472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4472
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4472#FFFFFF#000000##FFFFFF
##2F44721.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314874
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#044E55
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2f4472;
/* rgb */ color: rgb(47, 68, 114);
/* oklch */ color: oklch(39.3% 0.083 264.4);
Tailwind
colors: {
  custom: {
    50: '#6d779b',
    500: '#2f4472',
    950: '#000000',
  },
}
SCSS
$custom: #2f4472;
$custom-light: #6d779b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4472",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 114
  },
  "hsl": {
    "h": 221.194,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39273,
    "c": 0.0827,
    "h": 264.4
  },
  "luminance": 0.05953
}

Semantic roles & 50–950 ramp

primary
#2F4472
secondary
#A38C5A
accent
#AB56D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F4472

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

Preview Lab → · Contrast checker → · Palette generator →

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