#2F415B#2F415B

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

Color values

HEX#2F415B
RGBrgb(47, 65, 91)
HSLhsl(215, 32%, 27%)
HSVhsv(215, 48%, 36%)
CMYKcmyk(48.4%, 28.6%, 0%, 64.3%)
CIE-LABlab(27.13, 0.82, -17.72)
CIE-LCHlch(27.13, 17.74, 272.65°)
OKLaboklab(37.19% -0.0109 -0.0495)
OKLCHoklch(37.19% 0.051 257.5)
XYZxyz(4.9503, 5.1400, 10.6268)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F415B #5B492F
analogous
#2F575B #2F415B #332F5B
triadic
#2F415B #5B2F41 #415B2F
tetradic
#2F415B #5B2F57 #5B492F #2F5B33
square
#2F415B #5B2F57 #5B492F #2F5B33
split-complementary
#2F415B #5B332F #575B2F
monochromatic
#0A0E14 #1A2433 #2F415B #445E83 #5A7BAA

Accessibility & contrast

On white

10.36
#2F415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F415B
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F415B#FFFFFF#000000##FFFFFF
##2F415B1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37425C
Deuteranopia (green-blind)
#323E5A
Tritanopia (blue-blind)
#1E474A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f415b;
/* rgb */ color: rgb(47, 65, 91);
/* oklch */ color: oklch(37.2% 0.051 257.5);
Tailwind
colors: {
  custom: {
    50: '#6a7589',
    500: '#2f415b',
    950: '#000000',
  },
}
SCSS
$custom: #2f415b;
$custom-light: #6a7589;
$custom-dark: #000000;
JSON
{
  "hex": "#2f415b",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 215.455,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.37188,
    "c": 0.05066,
    "h": 257.5
  },
  "luminance": 0.0514
}

Semantic roles & 50–950 ramp

primary
#2F415B
secondary
#8D7859
accent
#9D60C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2F415B

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

Preview Lab → · Contrast checker → · Palette generator →

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