#2F405B#2F405B

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

Color values

HEX#2F405B
RGBrgb(47, 64, 91)
HSLhsl(217, 32%, 27%)
HSVhsv(217, 48%, 36%)
CMYKcmyk(48.4%, 29.7%, 0%, 64.3%)
CIE-LABlab(26.81, 1.48, -18.22)
CIE-LCHlch(26.81, 18.28, 274.66°)
OKLaboklab(36.94% -0.0095 -0.0509)
OKLCHoklch(36.94% 0.052 259.4)
XYZxyz(4.8934, 5.0262, 10.6078)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F405B #5B4A2F
analogous
#2F565B #2F405B #342F5B
triadic
#2F405B #5B2F40 #405B2F
tetradic
#2F405B #5B2F56 #5B4A2F #2F5B34
square
#2F405B #5B2F56 #5B4A2F #2F5B34
split-complementary
#2F405B #5B342F #565B2F
monochromatic
#0A0E14 #1A2433 #2F405B #445C83 #5A79AA

Accessibility & contrast

On white

10.47
#2F405B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F405B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F405B
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F405B#FFFFFF#000000##FFFFFF
##2F405B1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36425C
Deuteranopia (green-blind)
#313D5A
Tritanopia (blue-blind)
#1E4649
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f405b;
/* rgb */ color: rgb(47, 64, 91);
/* oklch */ color: oklch(36.9% 0.052 259.4);
Tailwind
colors: {
  custom: {
    50: '#6a7489',
    500: '#2f405b',
    950: '#000000',
  },
}
SCSS
$custom: #2f405b;
$custom-light: #6a7489;
$custom-dark: #000000;
JSON
{
  "hex": "#2f405b",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 91
  },
  "hsl": {
    "h": 216.818,
    "s": 31.884,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36938,
    "c": 0.05178,
    "h": 259.4
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#2F405B
secondary
#8D7959
accent
#A060C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080B
muted
#7A7B7C

Preview Lab

Preview with #2F405B

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

Preview Lab → · Contrast checker → · Palette generator →

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