#2C388F#2C388F

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

Color values

HEX#2C388F
RGBrgb(44, 56, 143)
HSLhsl(233, 53%, 37%)
HSVhsv(233, 69%, 56%)
CMYKcmyk(69.2%, 60.8%, 0%, 43.9%)
CIE-LABlab(27.70, 25.23, -49.72)
CIE-LCHlch(27.70, 55.75, 296.91°)
OKLaboklab(38.66% 0.0048 -0.1433)
OKLCHoklch(38.66% 0.143 271.9)
XYZxyz(7.4091, 5.3463, 26.6228)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C388F #8F832C
analogous
#2C6A8F #2C388F #522C8F
triadic
#2C388F #8F2C38 #388F2C
tetradic
#2C388F #8F2C6A #8F832C #2C8F52
square
#2C388F #8F2C6A #8F832C #2C8F52
split-complementary
#2C388F #8F522C #6A8F2C
monochromatic
#0F1331 #1E2660 #2C388F #3A4ABE #6672D0

Accessibility & contrast

On white

10.15
#2C388F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2C388F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C388F
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C388F#FFFFFF#000000##FFFFFF
##2C388F1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c388f;
/* rgb */ color: rgb(44, 56, 143);
/* oklch */ color: oklch(38.7% 0.143 271.9);
Tailwind
colors: {
  custom: {
    50: '#726eb1',
    500: '#2c388f',
    950: '#000000',
  },
}
SCSS
$custom: #2c388f;
$custom-light: #726eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c388f",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 143
  },
  "hsl": {
    "h": 232.727,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38662,
    "c": 0.14336,
    "h": 271.9
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#2C388F
secondary
#B6AC61
accent
#CB4BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C388F

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

Preview Lab → · Contrast checker → · Palette generator →

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