#2F405D#2F405D

#2F405D is a dark, muted blue. Relative luminance 0.051; OKLCH L 37.0% C 0.055 H 260.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2F405D
RGBrgb(47, 64, 93)
HSLhsl(218, 33%, 27%)
HSVhsv(218, 49%, 36%)
CMYKcmyk(49.5%, 31.2%, 0%, 63.5%)
CIE-LABlab(26.91, 2.16, -19.36)
CIE-LCHlch(26.91, 19.48, 276.36°)
OKLaboklab(37.05% -0.0088 -0.0542)
OKLCHoklch(37.05% 0.055 260.8)
XYZxyz(4.9808, 5.0611, 11.0682)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F405D #5D4C2F
analogous
#2F575D #2F405D #352F5D
triadic
#2F405D #5D2F40 #405D2F
tetradic
#2F405D #5D2F57 #5D4C2F #2F5D35
square
#2F405D #5D2F57 #5D4C2F #2F5D35
split-complementary
#2F405D #5D352F #575D2F
monochromatic
#0A0E14 #1A2434 #2F405D #445C86 #5B79AC

Accessibility & contrast

On white

10.44
#2F405D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F405D
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F405D#FFFFFF#000000##FFFFFF
##2F405D1.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35425E
Deuteranopia (green-blind)
#303E5C
Tritanopia (blue-blind)
#1D464A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f405d;
/* rgb */ color: rgb(47, 64, 93);
/* oklch */ color: oklch(37.0% 0.055 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a748b',
    500: '#2f405d',
    950: '#000000',
  },
}
SCSS
$custom: #2f405d;
$custom-light: #6a748b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f405d",
  "rgb": {
    "r": 47,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 217.826,
    "s": 32.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.37048,
    "c": 0.0549,
    "h": 260.8
  },
  "luminance": 0.05061
}

Semantic roles & 50–950 ramp

primary
#2F405D
secondary
#8F7B59
accent
#A25FC9
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #2F405D

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

Preview Lab → · Contrast checker → · Palette generator →

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