#2C388E#2C388E

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

Color values

HEX#2C388E
RGBrgb(44, 56, 142)
HSLhsl(233, 53%, 36%)
HSVhsv(233, 69%, 56%)
CMYKcmyk(69%, 60.6%, 0%, 44.3%)
CIE-LABlab(27.62, 24.86, -49.24)
CIE-LCHlch(27.62, 55.16, 296.79°)
OKLaboklab(38.57% 0.0048 -0.1419)
OKLCHoklch(38.57% 0.142 271.9)
XYZxyz(7.3337, 5.3161, 26.2256)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388E #8E822C
analogous
#2C698E #2C388E #512C8E
triadic
#2C388E #8E2C38 #388E2C
tetradic
#2C388E #8E2C69 #8E822C #2C8E51
square
#2C388E #8E2C69 #8E822C #2C8E51
split-complementary
#2C388E #8E512C #698E2C
monochromatic
#0F1331 #1E265F #2C388E #3A4ABD #6572CF

Accessibility & contrast

On white

10.18
#2C388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C388E
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C388E#FFFFFF#000000##FFFFFF
##2C388E1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003D8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c388e;
/* rgb */ color: rgb(44, 56, 142);
/* oklch */ color: oklch(38.6% 0.142 271.9);
Tailwind
colors: {
  custom: {
    50: '#726eb0',
    500: '#2c388e',
    950: '#000000',
  },
}
SCSS
$custom: #2c388e;
$custom-light: #726eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388e",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 232.653,
    "s": 52.688,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38575,
    "c": 0.14194,
    "h": 271.9
  },
  "luminance": 0.05317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C388E

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

Preview Lab → · Contrast checker → · Palette generator →

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