#2D388F#2D388F

#2D388F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.143 H 272.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#2D388F
RGBrgb(45, 56, 143)
HSLhsl(233, 52%, 37%)
HSVhsv(233, 69%, 56%)
CMYKcmyk(68.5%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.76, 25.38, -49.62)
CIE-LCHlch(27.76, 55.73, 297.09°)
OKLaboklab(38.72% 0.0059 -0.143)
OKLCHoklch(38.72% 0.143 272.4)
XYZxyz(7.4526, 5.3687, 26.6248)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D388F #8F842D
analogous
#2D698F #2D388F #532D8F
triadic
#2D388F #8F2D38 #388F2D
tetradic
#2D388F #8F2D69 #8F842D #2D8F53
square
#2D388F #8F2D69 #8F842D #2D8F53
split-complementary
#2D388F #8F532D #698F2D
monochromatic
#101432 #1E2660 #2D388F #3C4ABE #6773CF

Accessibility & contrast

On white

10.13
#2D388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2D388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D388F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D388F#FFFFFF#000000##FFFFFF
##2D388F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d388f;
/* rgb */ color: rgb(45, 56, 143);
/* oklch */ color: oklch(38.7% 0.143 272.4);
Tailwind
colors: {
  custom: {
    50: '#736eb1',
    500: '#2d388f',
    950: '#000000',
  },
}
SCSS
$custom: #2d388f;
$custom-light: #736eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d388f",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 233.265,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38724,
    "c": 0.14308,
    "h": 272.4
  },
  "luminance": 0.05369
}

Semantic roles & 50–950 ramp

primary
#2D388F
secondary
#B6AC62
accent
#CB4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2D388F

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

Preview Lab → · Contrast checker → · Palette generator →

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