#2D334F#2D334F

#2D334F is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.9% C 0.050 H 274.1°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2D334F
RGBrgb(45, 51, 79)
HSLhsl(229, 27%, 24%)
HSVhsv(229, 43%, 31%)
CMYKcmyk(43%, 35.4%, 0%, 69%)
CIE-LABlab(21.91, 5.71, -17.97)
CIE-LCHlch(21.91, 18.86, 287.62°)
OKLaboklab(32.89% 0.0036 -0.0503)
OKLCHoklch(32.89% 0.05 274.1)
XYZxyz(3.6769, 3.4899, 7.8755)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D334F #4F492D
analogous
#2D444F #2D334F #382D4F
triadic
#2D334F #4F2D33 #334F2D
tetradic
#2D334F #4F2D44 #4F492D #2D4F38
square
#2D334F #4F2D44 #4F492D #2D4F38
split-complementary
#2D334F #4F382D #444F2D
monochromatic
#0B0D13 #171A28 #2D334F #434C76 #59659D

Accessibility & contrast

On white

12.37
#2D334F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D334F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D334F#FFFFFF#000000##FFFFFF
##2D334F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#27334E
Tritanopia (blue-blind)
#23393D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d334f;
/* rgb */ color: rgb(45, 51, 79);
/* oklch */ color: oklch(32.9% 0.050 274.1);
Tailwind
colors: {
  custom: {
    50: '#676a80',
    500: '#2d334f',
    950: '#000000',
  },
}
SCSS
$custom: #2d334f;
$custom-light: #676a80;
$custom-dark: #000000;
JSON
{
  "hex": "#2d334f",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 79
  },
  "hsl": {
    "h": 229.412,
    "s": 27.419,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32886,
    "c": 0.05038,
    "h": 274.1
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#2D334F
secondary
#817957
accent
#B364C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2D334F

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

Preview Lab → · Contrast checker → · Palette generator →

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