#2D334E#2D334E

#2D334E is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.049 H 273.9°. Best body text is #FFFFFF at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#2D334E
RGBrgb(45, 51, 78)
HSLhsl(229, 27%, 24%)
HSVhsv(229, 42%, 31%)
CMYKcmyk(42.3%, 34.6%, 0%, 69.4%)
CIE-LABlab(21.86, 5.38, -17.39)
CIE-LCHlch(21.86, 18.20, 287.19°)
OKLaboklab(32.83% 0.0033 -0.0486)
OKLCHoklch(32.83% 0.049 273.9)
XYZxyz(3.6408, 3.4754, 7.6852)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D334E #4E482D
analogous
#2D444E #2D334E #382D4E
triadic
#2D334E #4E2D33 #334E2D
tetradic
#2D334E #4E2D44 #4E482D #2D4E38
square
#2D334E #4E2D44 #4E482D #2D4E38
split-complementary
#2D334E #4E382D #444E2D
monochromatic
#0B0D13 #171A27 #2D334E #434C75 #5A669C

Accessibility & contrast

On white

12.39
#2D334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D334E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D334E
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D334E#FFFFFF#000000##FFFFFF
##2D334E1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#23383D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d334e;
/* rgb */ color: rgb(45, 51, 78);
/* oklch */ color: oklch(32.8% 0.049 273.9);
Tailwind
colors: {
  custom: {
    50: '#676a7f',
    500: '#2d334e',
    950: '#000000',
  },
}
SCSS
$custom: #2d334e;
$custom-light: #676a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d334e",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 229.091,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.04867,
    "h": 273.9
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

primary
#2D334E
secondary
#807857
accent
#B265C3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D334E

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

Preview Lab → · Contrast checker → · Palette generator →

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