#2C388C#2C388C

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

Color values

HEX#2C388C
RGBrgb(44, 56, 140)
HSLhsl(233, 52%, 36%)
HSVhsv(233, 69%, 55%)
CMYKcmyk(68.6%, 60%, 0%, 45.1%)
CIE-LABlab(27.45, 24.11, -48.27)
CIE-LCHlch(27.45, 53.95, 296.55°)
OKLaboklab(38.4% 0.0048 -0.139)
OKLCHoklch(38.4% 0.139 272)
XYZxyz(7.1849, 5.2566, 25.4418)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388C #8C802C
analogous
#2C688C #2C388C #502C8C
triadic
#2C388C #8C2C38 #388C2C
tetradic
#2C388C #8C2C68 #8C802C #2C8C50
square
#2C388C #8C2C68 #8C802C #2C8C50
split-complementary
#2C388C #8C502C #688C2C
monochromatic
#0F132F #1D255D #2C388C #3B4BBB #6471CE

Accessibility & contrast

On white

10.24
#2C388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C388C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C388C#FFFFFF#000000##FFFFFF
##2C388C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.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: #2c388c;
/* rgb */ color: rgb(44, 56, 140);
/* oklch */ color: oklch(38.4% 0.139 272.0);
Tailwind
colors: {
  custom: {
    50: '#716eae',
    500: '#2c388c',
    950: '#000000',
  },
}
SCSS
$custom: #2c388c;
$custom-light: #716eae;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388c",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 232.5,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38403,
    "c": 0.13909,
    "h": 272
  },
  "luminance": 0.05257
}

Semantic roles & 50–950 ramp

primary
#2C388C
secondary
#B5AA5F
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2C388C

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

Preview Lab → · Contrast checker → · Palette generator →

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