#2C388D#2C388D

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

Color values

HEX#2C388D
RGBrgb(44, 56, 141)
HSLhsl(233, 52%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(68.8%, 60.3%, 0%, 44.7%)
CIE-LABlab(27.54, 24.49, -48.75)
CIE-LCHlch(27.54, 54.55, 296.67°)
OKLaboklab(38.49% 0.0048 -0.1404)
OKLCHoklch(38.49% 0.141 271.9)
XYZxyz(7.2590, 5.2862, 25.8319)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388D #8D812C
analogous
#2C698D #2C388D #512C8D
triadic
#2C388D #8D2C38 #388D2C
tetradic
#2C388D #8D2C69 #8D812C #2C8D51
square
#2C388D #8D2C69 #8D812C #2C8D51
split-complementary
#2C388D #8D512C #698D2C
monochromatic
#0F1330 #1D255E #2C388D #3B4BBC #6572CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C388D#FFFFFF#000000##FFFFFF
##2C388D1.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)
#004690
Deuteranopia (green-blind)
#003D8B
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c388d;
/* rgb */ color: rgb(44, 56, 141);
/* oklch */ color: oklch(38.5% 0.141 271.9);
Tailwind
colors: {
  custom: {
    50: '#726eaf',
    500: '#2c388d',
    950: '#000000',
  },
}
SCSS
$custom: #2c388d;
$custom-light: #726eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388d",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 232.577,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38489,
    "c": 0.14052,
    "h": 271.9
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#2C388D
secondary
#B5AB60
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C388D

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

Preview Lab → · Contrast checker → · Palette generator →

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