#2D375C#2D375C

#2D375C is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.6% C 0.066 H 271.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#2D375C
RGBrgb(45, 55, 92)
HSLhsl(227, 34%, 27%)
HSVhsv(227, 51%, 36%)
CMYKcmyk(51.1%, 40.2%, 0%, 63.9%)
CIE-LABlab(23.88, 7.37, -23.47)
CIE-LCHlch(23.88, 24.60, 287.42°)
OKLaboklab(34.64% 0.0013 -0.0662)
OKLCHoklch(34.64% 0.066 271.2)
XYZxyz(4.3795, 4.0627, 10.6765)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D375C #5C522D
analogous
#2D4F5C #2D375C #3B2D5C
triadic
#2D375C #5C2D37 #375C2D
tetradic
#2D375C #5C2D4F #5C522D #2D5C3B
square
#2D375C #5C2D4F #5C522D #2D5C3B
split-complementary
#2D375C #5C3B2D #4F5C2D
monochromatic
#0A0C15 #191E33 #2D375C #415085 #5769AD

Accessibility & contrast

On white

11.59
#2D375C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D375C
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D375C#FFFFFF#000000##FFFFFF
##2D375C1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5D
Deuteranopia (green-blind)
#25375B
Tritanopia (blue-blind)
#1B3F45
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d375c;
/* rgb */ color: rgb(45, 55, 92);
/* oklch */ color: oklch(34.6% 0.066 271.2);
Tailwind
colors: {
  custom: {
    50: '#696d8a',
    500: '#2d375c',
    950: '#000000',
  },
}
SCSS
$custom: #2d375c;
$custom-light: #696d8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d375c",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 92
  },
  "hsl": {
    "h": 227.234,
    "s": 34.307,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34642,
    "c": 0.0662,
    "h": 271.2
  },
  "luminance": 0.04063
}

Semantic roles & 50–950 ramp

primary
#2D375C
secondary
#8E8257
accent
#B35DCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #2D375C

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

Preview Lab → · Contrast checker → · Palette generator →

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