#2D388C#2D388C

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

Color values

HEX#2D388C
RGBrgb(45, 56, 140)
HSLhsl(233, 51%, 36%)
HSVhsv(233, 68%, 55%)
CMYKcmyk(67.9%, 60%, 0%, 45.1%)
CIE-LABlab(27.52, 24.27, -48.16)
CIE-LCHlch(27.52, 53.93, 296.75°)
OKLaboklab(38.46% 0.0059 -0.1387)
OKLCHoklch(38.46% 0.139 272.4)
XYZxyz(7.2284, 5.2790, 25.4439)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D388C #8C812D
analogous
#2D688C #2D388C #522D8C
triadic
#2D388C #8C2D38 #388C2D
tetradic
#2D388C #8C2D68 #8C812D #2D8C52
square
#2D388C #8C2D68 #8C812D #2D8C52
split-complementary
#2D388C #8C522D #688C2D
monochromatic
#0F132F #1E255E #2D388C #3C4BBA #6672CE

Accessibility & contrast

On white

10.21
#2D388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D388C
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D388C#FFFFFF#000000##FFFFFF
##2D388C1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d388c;
/* rgb */ color: rgb(45, 56, 140);
/* oklch */ color: oklch(38.5% 0.139 272.4);
Tailwind
colors: {
  custom: {
    50: '#726eae',
    500: '#2d388c',
    950: '#000000',
  },
}
SCSS
$custom: #2d388c;
$custom-light: #726eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d388c",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 233.053,
    "s": 51.351,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.1388,
    "h": 272.4
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#2D388C
secondary
#B4AB60
accent
#CA4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2D388C

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

Preview Lab → · Contrast checker → · Palette generator →

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