#2F405A#2F405A

#2F405A is a dark, muted blue. Relative luminance 0.050; OKLCH L 36.9% C 0.050 H 258.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#2F405A
RGBrgb(47, 64, 90)
HSLhsl(216, 31%, 27%)
HSVhsv(216, 48%, 35%)
CMYKcmyk(47.8%, 28.9%, 0%, 64.7%)
CIE-LABlab(26.76, 1.15, -17.65)
CIE-LCHlch(26.76, 17.68, 273.73°)
OKLaboklab(36.88% -0.0098 -0.0492)
OKLCHoklch(36.88% 0.05 258.7)
XYZxyz(4.8505, 5.0090, 10.3821)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F405A #5A492F
analogous
#2F565A #2F405A #342F5A
triadic
#2F405A #5A2F40 #405A2F
tetradic
#2F405A #5A2F56 #5A492F #2F5A34
square
#2F405A #5A2F56 #5A492F #2F5A34
split-complementary
#2F405A #5A342F #565A2F
monochromatic
#0A0E14 #1A2332 #2F405A #445D82 #5A79A9

Accessibility & contrast

On white

10.49
#2F405A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F405A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F405A
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F405A#FFFFFF#000000##FFFFFF
##2F405A1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425B
Deuteranopia (green-blind)
#313D59
Tritanopia (blue-blind)
#1F4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f405a;
/* rgb */ color: rgb(47, 64, 90);
/* oklch */ color: oklch(36.9% 0.050 258.7);
Tailwind
colors: {
  custom: {
    50: '#6a7488',
    500: '#2f405a',
    950: '#000000',
  },
}
SCSS
$custom: #2f405a;
$custom-light: #6a7488;
$custom-dark: #000000;
JSON
{
  "hex": "#2f405a",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 90
  },
  "hsl": {
    "h": 216.279,
    "s": 31.387,
    "l": 26.863
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.05023,
    "h": 258.7
  },
  "luminance": 0.05009
}

Semantic roles & 50–950 ramp

primary
#2F405A
secondary
#8C7859
accent
#9F60C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2F405A

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

Preview Lab → · Contrast checker → · Palette generator →

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