#2D388E#2D388E

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

Color values

HEX#2D388E
RGBrgb(45, 56, 142)
HSLhsl(233, 52%, 37%)
HSVhsv(233, 68%, 56%)
CMYKcmyk(68.3%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.68, 25.01, -49.13)
CIE-LCHlch(27.68, 55.13, 296.98°)
OKLaboklab(38.64% 0.0059 -0.1415)
OKLCHoklch(38.64% 0.142 272.4)
XYZxyz(7.3772, 5.3386, 26.2276)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D388E #8E832D
analogous
#2D698E #2D388E #532D8E
triadic
#2D388E #8E2D38 #388E2D
tetradic
#2D388E #8E2D69 #8E832D #2D8E53
square
#2D388E #8E2D69 #8E832D #2D8E53
split-complementary
#2D388E #8E532D #698E2D
monochromatic
#101331 #1E2660 #2D388E #3C4ABC #6772CF

Accessibility & contrast

On white

10.16
#2D388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D388E
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D388E#FFFFFF#000000##FFFFFF
##2D388E1.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d388e;
/* rgb */ color: rgb(45, 56, 142);
/* oklch */ color: oklch(38.6% 0.142 272.4);
Tailwind
colors: {
  custom: {
    50: '#726eb0',
    500: '#2d388e',
    950: '#000000',
  },
}
SCSS
$custom: #2d388e;
$custom-light: #726eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d388e",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 233.196,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.14166,
    "h": 272.4
  },
  "luminance": 0.05339
}

Semantic roles & 50–950 ramp

primary
#2D388E
secondary
#B5AC61
accent
#CB4CDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D388E

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

Preview Lab → · Contrast checker → · Palette generator →

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