#2D334A#2D334A

#2D334A is a dark, muted blue. Relative luminance 0.034; OKLCH L 32.6% C 0.042 H 272.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#2D334A
RGBrgb(45, 51, 74)
HSLhsl(228, 24%, 23%)
HSVhsv(228, 39%, 29%)
CMYKcmyk(39.2%, 31.1%, 0%, 71%)
CIE-LABlab(21.65, 4.08, -15.02)
CIE-LCHlch(21.65, 15.57, 285.19°)
OKLaboklab(32.6% 0.0019 -0.0418)
OKLCHoklch(32.6% 0.042 272.7)
XYZxyz(3.5017, 3.4198, 6.9528)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D334A #4A442D
analogous
#2D414A #2D334A #352D4A
triadic
#2D334A #4A2D33 #334A2D
tetradic
#2D334A #4A2D41 #4A442D #2D4A35
square
#2D334A #4A2D41 #4A442D #2D4A35
split-complementary
#2D334A #4A352D #414A2D
monochromatic
#0C0D13 #161924 #2D334A #444D70 #5B6796

Accessibility & contrast

On white

12.47
#2D334A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D334A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D334A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D334A#FFFFFF#000000##FFFFFF
##2D334A1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C354B
Deuteranopia (green-blind)
#293349
Tritanopia (blue-blind)
#25373B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d334a;
/* rgb */ color: rgb(45, 51, 74);
/* oklch */ color: oklch(32.6% 0.042 272.7);
Tailwind
colors: {
  custom: {
    50: '#676a7c',
    500: '#2d334a',
    950: '#000000',
  },
}
SCSS
$custom: #2d334a;
$custom-light: #676a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d334a",
  "rgb": {
    "r": 45,
    "g": 51,
    "b": 74
  },
  "hsl": {
    "h": 227.586,
    "s": 24.37,
    "l": 23.333
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.04181,
    "h": 272.7
  },
  "luminance": 0.0342
}

Semantic roles & 50–950 ramp

primary
#2D334A
secondary
#7B7457
accent
#AE67C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#060609
muted
#7A7A7B

Preview Lab

Preview with #2D334A

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

Preview Lab → · Contrast checker → · Palette generator →

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