#2D375B#2D375B

#2D375B is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.065 H 270.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2D375B
RGBrgb(45, 55, 91)
HSLhsl(227, 34%, 27%)
HSVhsv(227, 51%, 36%)
CMYKcmyk(50.5%, 39.6%, 0%, 64.3%)
CIE-LABlab(23.82, 7.02, -22.91)
CIE-LCHlch(23.82, 23.96, 287.03°)
OKLaboklab(34.58% 0.0011 -0.0645)
OKLCHoklch(34.58% 0.065 270.9)
XYZxyz(4.3361, 4.0453, 10.4478)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D375B #5B512D
analogous
#2D4E5B #2D375B #3A2D5B
triadic
#2D375B #5B2D37 #375B2D
tetradic
#2D375B #5B2D4E #5B512D #2D5B3A
square
#2D375B #5B2D4E #5B512D #2D5B3A
split-complementary
#2D375B #5B3A2D #4E5B2D
monochromatic
#0A0C14 #191E32 #2D375B #415084 #5769AC

Accessibility & contrast

On white

11.61
#2D375B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2D375B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D375B
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D375B#FFFFFF#000000##FFFFFF
##2D375B1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3B5C
Deuteranopia (green-blind)
#25375A
Tritanopia (blue-blind)
#1C3F44
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d375b;
/* rgb */ color: rgb(45, 55, 91);
/* oklch */ color: oklch(34.6% 0.065 270.9);
Tailwind
colors: {
  custom: {
    50: '#696d89',
    500: '#2d375b',
    950: '#000000',
  },
}
SCSS
$custom: #2d375b;
$custom-light: #696d89;
$custom-dark: #000000;
JSON
{
  "hex": "#2d375b",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 91
  },
  "hsl": {
    "h": 226.957,
    "s": 33.824,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34579,
    "c": 0.06456,
    "h": 270.9
  },
  "luminance": 0.04046
}

Semantic roles & 50–950 ramp

primary
#2D375B
secondary
#8D8157
accent
#B25ECA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070B
muted
#7A7A7C

Preview Lab

Preview with #2D375B

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

Preview Lab → · Contrast checker → · Palette generator →

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