#2D388D#2D388D

#2D388D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.6% C 0.140 H 272.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2D388D
RGBrgb(45, 56, 141)
HSLhsl(233, 52%, 36%)
HSVhsv(233, 68%, 55%)
CMYKcmyk(68.1%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.60, 24.64, -48.65)
CIE-LCHlch(27.60, 54.53, 296.86°)
OKLaboklab(38.55% 0.0059 -0.1401)
OKLCHoklch(38.55% 0.14 272.4)
XYZxyz(7.3025, 5.3087, 25.8340)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D388D #8D822D
analogous
#2D688D #2D388D #522D8D
triadic
#2D388D #8D2D38 #388D2D
tetradic
#2D388D #8D2D68 #8D822D #2D8D52
square
#2D388D #8D2D68 #8D822D #2D8D52
split-complementary
#2D388D #8D522D #688D2D
monochromatic
#0F1330 #1E265F #2D388D #3C4ABB #6672CE

Accessibility & contrast

On white

10.19
#2D388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D388D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D388D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D388D#FFFFFF#000000##FFFFFF
##2D388D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d388d;
/* rgb */ color: rgb(45, 56, 141);
/* oklch */ color: oklch(38.6% 0.140 272.4);
Tailwind
colors: {
  custom: {
    50: '#726eaf',
    500: '#2d388d',
    950: '#000000',
  },
}
SCSS
$custom: #2d388d;
$custom-light: #726eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d388d",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 233.125,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38551,
    "c": 0.14023,
    "h": 272.4
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#2D388D
secondary
#B5AB61
accent
#CB4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D388D

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

Preview Lab → · Contrast checker → · Palette generator →

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