#2F415D#2F415D

#2F415D is a dark, muted blue. Relative luminance 0.052; OKLCH L 37.3% C 0.054 H 259.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2F415D
RGBrgb(47, 65, 93)
HSLhsl(217, 33%, 27%)
HSVhsv(217, 49%, 36%)
CMYKcmyk(49.5%, 30.1%, 0%, 63.5%)
CIE-LABlab(27.23, 1.49, -18.86)
CIE-LCHlch(27.23, 18.92, 274.52°)
OKLaboklab(37.3% -0.0102 -0.0527)
OKLCHoklch(37.3% 0.054 259)
XYZxyz(5.0377, 5.1749, 11.0872)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F415D #5D4B2F
analogous
#2F585D #2F415D #342F5D
triadic
#2F415D #5D2F41 #415D2F
tetradic
#2F415D #5D2F58 #5D4B2F #2F5D34
square
#2F415D #5D2F58 #5D4B2F #2F5D34
split-complementary
#2F415D #5D342F #585D2F
monochromatic
#0A0E14 #1A2534 #2F415D #445D86 #5B7AAC

Accessibility & contrast

On white

10.32
#2F415D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2F415D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F415D
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F415D#FFFFFF#000000##FFFFFF
##2F415D1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37435E
Deuteranopia (green-blind)
#313E5C
Tritanopia (blue-blind)
#1D474B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f415d;
/* rgb */ color: rgb(47, 65, 93);
/* oklch */ color: oklch(37.3% 0.054 259.0);
Tailwind
colors: {
  custom: {
    50: '#6a758b',
    500: '#2f415d',
    950: '#000000',
  },
}
SCSS
$custom: #2f415d;
$custom-light: #6a758b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f415d",
  "rgb": {
    "r": 47,
    "g": 65,
    "b": 93
  },
  "hsl": {
    "h": 216.522,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37297,
    "c": 0.05374,
    "h": 259
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#2F415D
secondary
#8F7A59
accent
#9F5FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F415D

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

Preview Lab → · Contrast checker → · Palette generator →

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