#2D376B#2D376B

#2D376B is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.090 H 272.8°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2D376B
RGBrgb(45, 55, 107)
HSLhsl(230, 41%, 30%)
HSVhsv(230, 58%, 42%)
CMYKcmyk(57.9%, 48.6%, 0%, 58%)
CIE-LABlab(24.80, 12.74, -31.74)
CIE-LCHlch(24.80, 34.20, 291.87°)
OKLaboklab(35.65% 0.0045 -0.0904)
OKLCHoklch(35.65% 0.09 272.8)
XYZxyz(5.1014, 4.3514, 14.4782)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D376B #6B612D
analogous
#2D566B #2D376B #422D6B
triadic
#2D376B #6B2D37 #376B2D
tetradic
#2D376B #6B2D56 #6B612D #2D6B42
square
#2D376B #6B2D56 #6B612D #2D6B42
split-complementary
#2D376B #6B422D #566B2D
monochromatic
#090B16 #1B2140 #2D376B #3F4D96 #5969B9

Accessibility & contrast

On white

11.23
#2D376B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2D376B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D376B
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D376B#FFFFFF#000000##FFFFFF
##2D376B1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6D
Deuteranopia (green-blind)
#18386A
Tritanopia (blue-blind)
#0C424B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2d376b;
/* rgb */ color: rgb(45, 55, 107);
/* oklch */ color: oklch(35.6% 0.090 272.8);
Tailwind
colors: {
  custom: {
    50: '#6b6d96',
    500: '#2d376b',
    950: '#000000',
  },
}
SCSS
$custom: #2d376b;
$custom-light: #6b6d96;
$custom-dark: #000000;
JSON
{
  "hex": "#2d376b",
  "rgb": {
    "r": 45,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 230.323,
    "s": 40.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35649,
    "c": 0.09049,
    "h": 272.8
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#2D376B
secondary
#9D9157
accent
#BD57D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2D376B

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

Preview Lab → · Contrast checker → · Palette generator →

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