#2F3452#2F3452

#2F3452 is a dark, muted blue. Relative luminance 0.037; OKLCH L 33.5% C 0.053 H 275.9°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2F3452
RGBrgb(47, 52, 82)
HSLhsl(231, 27%, 25%)
HSVhsv(231, 43%, 32%)
CMYKcmyk(42.7%, 36.6%, 0%, 67.8%)
CIE-LABlab(22.55, 6.64, -18.96)
CIE-LCHlch(22.55, 20.09, 289.31°)
OKLaboklab(33.47% 0.0055 -0.0531)
OKLCHoklch(33.47% 0.053 275.9)
XYZxyz(3.9228, 3.6693, 8.4826)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3452 #524D2F
analogous
#2F4552 #2F3452 #3B2F52
triadic
#2F3452 #522F34 #34522F
tetradic
#2F3452 #522F45 #524D2F #2F523B
square
#2F3452 #522F45 #524D2F #2F523B
split-complementary
#2F3452 #523B2F #45522F
monochromatic
#0B0C13 #191B2B #2F3452 #454D79 #5C65A0

Accessibility & contrast

On white

12.11
#2F3452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3452
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3452#FFFFFF#000000##FFFFFF
##2F34521.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3753
Deuteranopia (green-blind)
#283551
Tritanopia (blue-blind)
#243A3F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2f3452;
/* rgb */ color: rgb(47, 52, 82);
/* oklch */ color: oklch(33.5% 0.053 275.9);
Tailwind
colors: {
  custom: {
    50: '#696b82',
    500: '#2f3452',
    950: '#000000',
  },
}
SCSS
$custom: #2f3452;
$custom-light: #696b82;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3452",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 82
  },
  "hsl": {
    "h": 231.429,
    "s": 27.132,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33474,
    "c": 0.05334,
    "h": 275.9
  },
  "luminance": 0.0367
}

Semantic roles & 50–950 ramp

primary
#2F3452
secondary
#837D59
accent
#B664C3
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2F3452

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

Preview Lab → · Contrast checker → · Palette generator →

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