#2F415C#2F415C

#2F415C is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.2% C 0.052 H 258.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#2F415C
RGBrgb(47, 65, 92)
HSLhsl(216, 32%, 27%)
HSVhsv(216, 49%, 36%)
CMYKcmyk(48.9%, 29.3%, 0%, 63.9%)
CIE-LABlab(27.18, 1.16, -18.29)
CIE-LCHlch(27.18, 18.33, 273.61°)
OKLaboklab(37.24% -0.0106 -0.0511)
OKLCHoklch(37.24% 0.052 258.3)
XYZxyz(4.9937, 5.1573, 10.8555)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F415C #5C4A2F
analogous
#2F585C #2F415C #342F5C
triadic
#2F415C #5C2F41 #415C2F
tetradic
#2F415C #5C2F58 #5C4A2F #2F5C34
square
#2F415C #5C2F58 #5C4A2F #2F5C34
split-complementary
#2F415C #5C342F #585C2F
monochromatic
#0A0E14 #1A2433 #2F415C #445E85 #5A7BAB

Accessibility & contrast

On white

10.34
#2F415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2F415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F415C
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F415C#FFFFFF#000000##FFFFFF
##2F415C1.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435D
Deuteranopia (green-blind)
#323E5B
Tritanopia (blue-blind)
#1D474A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f415c;
/* rgb */ color: rgb(47, 65, 92);
/* oklch */ color: oklch(37.2% 0.052 258.3);
Tailwind
colors: {
  custom: {
    50: '#6a758a',
    500: '#2f415c',
    950: '#000000',
  },
}
SCSS
$custom: #2f415c;
$custom-light: #6a758a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f415c",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 216,
    "s": 32.374,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37242,
    "c": 0.0522,
    "h": 258.3
  },
  "luminance": 0.05158
}

Semantic roles & 50–950 ramp

primary
#2F415C
secondary
#8E7959
accent
#9E5FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2F415C

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

Preview Lab → · Contrast checker → · Palette generator →

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