#2F4372#2F4372

#2F4372 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.084 H 265.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2F4372
RGBrgb(47, 67, 114)
HSLhsl(222, 42%, 32%)
HSVhsv(222, 59%, 45%)
CMYKcmyk(58.8%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.99, 7.53, -29.52)
CIE-LCHlch(28.99, 30.47, 284.31°)
OKLaboklab(39.04% -0.0069 -0.0837)
OKLCHoklch(39.04% 0.084 265.3)
XYZxyz(6.2157, 5.8331, 16.7147)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F4372 #725E2F
analogous
#2F6572 #2F4372 #3D2F72
triadic
#2F4372 #722F43 #43722F
tetradic
#2F4372 #722F65 #725E2F #2F723D
square
#2F4372 #722F65 #725E2F #2F723D
split-complementary
#2F4372 #723D2F #65722F
monochromatic
#0B101B #1D2A47 #2F4372 #415C9D #5F7BBD

Accessibility & contrast

On white

9.69
#2F4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2F4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F4372
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F4372#FFFFFF#000000##FFFFFF
##2F43721.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4874
Deuteranopia (green-blind)
#274271
Tritanopia (blue-blind)
#044D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f4372;
/* rgb */ color: rgb(47, 67, 114);
/* oklch */ color: oklch(39.0% 0.084 265.3);
Tailwind
colors: {
  custom: {
    50: '#6d769b',
    500: '#2f4372',
    950: '#000000',
  },
}
SCSS
$custom: #2f4372;
$custom-light: #6d769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f4372",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 222.09,
    "s": 41.615,
    "l": 31.569
  },
  "oklch": {
    "l": 0.39036,
    "c": 0.084,
    "h": 265.3
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#2F4372
secondary
#A38D5A
accent
#AD56D1
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2F4372

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

Preview Lab → · Contrast checker → · Palette generator →

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