#2D3A4E#2D3A4E

#2D3A4E is a dark, muted blue. Relative luminance 0.041; OKLCH L 34.6% C 0.039 H 258.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3A4E
RGBrgb(45, 58, 78)
HSLhsl(216, 27%, 24%)
HSVhsv(216, 42%, 31%)
CMYKcmyk(42.3%, 25.6%, 0%, 69.4%)
CIE-LABlab(24.11, 0.60, -13.89)
CIE-LCHlch(24.11, 13.90, 272.46°)
OKLaboklab(34.58% -0.0076 -0.0385)
OKLCHoklch(34.58% 0.039 258.8)
XYZxyz(3.9700, 4.1339, 7.7950)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A4E #4E412D
analogous
#2D4B4E #2D3A4E #312D4E
triadic
#2D3A4E #4E2D3A #3A4E2D
tetradic
#2D3A4E #4E2D4B #4E412D #2D4E31
square
#2D3A4E #4E2D4B #4E412D #2D4E31
split-complementary
#2D3A4E #4E312D #4B4E2D
monochromatic
#0B0E13 #171D27 #2D3A4E #435775 #5A749C

Accessibility & contrast

On white

11.50
#2D3A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3A4E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A4E#FFFFFF#000000##FFFFFF
##2D3A4E1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333B4F
Deuteranopia (green-blind)
#2F384E
Tritanopia (blue-blind)
#223E41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3a4e;
/* rgb */ color: rgb(45, 58, 78);
/* oklch */ color: oklch(34.6% 0.039 258.8);
Tailwind
colors: {
  custom: {
    50: '#67707f',
    500: '#2d3a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a4e;
$custom-light: #67707f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a4e",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 78
  },
  "hsl": {
    "h": 216.364,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.34583,
    "c": 0.03928,
    "h": 258.8
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#2D3A4E
secondary
#807057
accent
#9E65C3
background
#F6F6F7
surface
#EBECEE
border
#C6C7C9
text
#06070A
muted
#7A7A7C

Preview Lab

Preview with #2D3A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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