#232C78#232C78

#232C78 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.129 H 272.3°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#232C78
RGBrgb(35, 44, 120)
HSLhsl(234, 55%, 30%)
HSVhsv(234, 71%, 47%)
CMYKcmyk(70.8%, 63.3%, 0%, 52.9%)
CIE-LABlab(22.00, 23.36, -44.62)
CIE-LCHlch(22.00, 50.37, 297.63°)
OKLaboklab(33.68% 0.0051 -0.1287)
OKLCHoklch(33.68% 0.129 272.3)
XYZxyz(4.9828, 3.5143, 18.1814)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C78 #786F23
analogous
#235678 #232C78 #442378
triadic
#232C78 #78232C #2C7823
tetradic
#232C78 #782356 #786F23 #237844
square
#232C78 #782356 #786F23 #237844
split-complementary
#232C78 #784423 #567823
monochromatic
#070919 #151B49 #232C78 #313DA7 #4B58CA

Accessibility & contrast

On white

12.33
#232C78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#232C78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C78
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C78#FFFFFF#000000##FFFFFF
##232C781.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397A
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #232c78;
/* rgb */ color: rgb(35, 44, 120);
/* oklch */ color: oklch(33.7% 0.129 272.3);
Tailwind
colors: {
  custom: {
    50: '#6a65a0',
    500: '#232c78',
    950: '#000000',
  },
}
SCSS
$custom: #232c78;
$custom-light: #6a65a0;
$custom-dark: #000000;
JSON
{
  "hex": "#232c78",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 233.647,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3368,
    "c": 0.12877,
    "h": 272.3
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#232C78
secondary
#ABA14C
accent
#CE4ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #232C78

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

Preview Lab → · Contrast checker → · Palette generator →

#232C78 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva