#2F3451#2F3451

#2F3451 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.4% C 0.052 H 275.8°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#2F3451
RGBrgb(47, 52, 81)
HSLhsl(231, 27%, 25%)
HSVhsv(231, 42%, 32%)
CMYKcmyk(42%, 35.8%, 0%, 68.2%)
CIE-LABlab(22.49, 6.31, -18.38)
CIE-LCHlch(22.49, 19.43, 288.96°)
OKLaboklab(33.42% 0.0052 -0.0514)
OKLCHoklch(33.42% 0.052 275.8)
XYZxyz(3.8850, 3.6542, 8.2836)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3451 #514C2F
analogous
#2F4551 #2F3451 #3B2F51
triadic
#2F3451 #512F34 #34512F
tetradic
#2F3451 #512F45 #514C2F #2F513B
square
#2F3451 #512F45 #514C2F #2F513B
split-complementary
#2F3451 #513B2F #45512F
monochromatic
#0B0C13 #191B2A #2F3451 #454D78 #5C669E

Accessibility & contrast

On white

12.13
#2F3451 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2F3451 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3451
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3451#FFFFFF#000000##FFFFFF
##2F34511.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3752
Deuteranopia (green-blind)
#283450
Tritanopia (blue-blind)
#253A3E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3451;
/* rgb */ color: rgb(47, 52, 81);
/* oklch */ color: oklch(33.4% 0.052 275.8);
Tailwind
colors: {
  custom: {
    50: '#696b82',
    500: '#2f3451',
    950: '#000000',
  },
}
SCSS
$custom: #2f3451;
$custom-light: #696b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3451",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 81
  },
  "hsl": {
    "h": 231.176,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33416,
    "c": 0.05163,
    "h": 275.8
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#2F3451
secondary
#827C59
accent
#B565C3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F3451

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

Preview Lab → · Contrast checker → · Palette generator →

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