#2C388A#2C388A

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

Color values

HEX#2C388A
RGBrgb(44, 56, 138)
HSLhsl(232, 52%, 36%)
HSVhsv(232, 68%, 54%)
CMYKcmyk(68.1%, 59.4%, 0%, 45.9%)
CIE-LABlab(27.29, 23.37, -47.29)
CIE-LCHlch(27.29, 52.75, 296.29°)
OKLaboklab(38.23% 0.0047 -0.1361)
OKLCHoklch(38.23% 0.136 272)
XYZxyz(7.0388, 5.1982, 24.6722)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388A #8A7E2C
analogous
#2C678A #2C388A #4F2C8A
triadic
#2C388A #8A2C38 #388A2C
tetradic
#2C388A #8A2C67 #8A7E2C #2C8A4F
square
#2C388A #8A2C67 #8A7E2C #2C8A4F
split-complementary
#2C388A #8A4F2C #678A2C
monochromatic
#0E122D #1D255C #2C388A #3B4BB8 #6371CD

Accessibility & contrast

On white

10.30
#2C388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2C388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C388A
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C388A#FFFFFF#000000##FFFFFF
##2C388A1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2c388a;
/* rgb */ color: rgb(44, 56, 138);
/* oklch */ color: oklch(38.2% 0.136 272.0);
Tailwind
colors: {
  custom: {
    50: '#716ead',
    500: '#2c388a',
    950: '#000000',
  },
}
SCSS
$custom: #2c388a;
$custom-light: #716ead;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388a",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 232.34,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38232,
    "c": 0.13622,
    "h": 272
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#2C388A
secondary
#B4A95E
accent
#C94DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2C388A

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

Preview Lab → · Contrast checker → · Palette generator →

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