#2C388B#2C388B

#2C388B is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.138 H 272.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2C388B
RGBrgb(44, 56, 139)
HSLhsl(232, 52%, 36%)
HSVhsv(232, 68%, 55%)
CMYKcmyk(68.3%, 59.7%, 0%, 45.5%)
CIE-LABlab(27.37, 23.74, -47.78)
CIE-LCHlch(27.37, 53.35, 296.42°)
OKLaboklab(38.32% 0.0048 -0.1376)
OKLCHoklch(38.32% 0.138 272)
XYZxyz(7.1115, 5.2272, 25.0553)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388B #8B7F2C
analogous
#2C678B #2C388B #4F2C8B
triadic
#2C388B #8B2C38 #388B2C
tetradic
#2C388B #8B2C67 #8B7F2C #2C8B4F
square
#2C388B #8B2C67 #8B7F2C #2C8B4F
split-complementary
#2C388B #8B4F2C #678B2C
monochromatic
#0F132E #1D255D #2C388B #3B4BB9 #6471CE

Accessibility & contrast

On white

10.27
#2C388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C388B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C388B
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C388B#FFFFFF#000000##FFFFFF
##2C388B1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003C89
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c388b;
/* rgb */ color: rgb(44, 56, 139);
/* oklch */ color: oklch(38.3% 0.138 272.0);
Tailwind
colors: {
  custom: {
    50: '#716eae',
    500: '#2c388b',
    950: '#000000',
  },
}
SCSS
$custom: #2c388b;
$custom-light: #716eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388b",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 232.421,
    "s": 51.913,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38317,
    "c": 0.13766,
    "h": 272
  },
  "luminance": 0.05228
}

Semantic roles & 50–950 ramp

primary
#2C388B
secondary
#B4A95F
accent
#C94CDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C388B

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

Preview Lab → · Contrast checker → · Palette generator →

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