#232C99#232C99

#232C99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.174 H 270.8°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#232C99
RGBrgb(35, 44, 153)
HSLhsl(235, 63%, 37%)
HSVhsv(235, 77%, 60%)
CMYKcmyk(77.1%, 71.2%, 0%, 40%)
CIE-LABlab(25.13, 35.65, -60.10)
CIE-LCHlch(25.13, 69.87, 300.68°)
OKLaboklab(36.93% 0.0025 -0.1739)
OKLCHoklch(36.93% 0.174 270.8)
XYZxyz(7.3416, 4.4578, 30.6043)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C99 #999023
analogous
#236799 #232C99 #552399
triadic
#232C99 #99232C #2C9923
tetradic
#232C99 #992367 #999023 #239955
square
#232C99 #992367 #999023 #239955
split-complementary
#232C99 #995523 #679923
monochromatic
#0C0F35 #181E67 #232C99 #2E3ACB #5D66DA

Accessibility & contrast

On white

11.10
#232C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#232C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C99
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C99#FFFFFF#000000##FFFFFF
##232C991.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #232c99;
/* rgb */ color: rgb(35, 44, 153);
/* oklch */ color: oklch(36.9% 0.174 270.8);
Tailwind
colors: {
  custom: {
    50: '#7266b8',
    500: '#232c99',
    950: '#000000',
  },
}
SCSS
$custom: #232c99;
$custom-light: #7266b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232c99",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 235.424,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36926,
    "c": 0.17397,
    "h": 270.8
  },
  "luminance": 0.04459
}

Semantic roles & 50–950 ramp

primary
#232C99
secondary
#BEB759
accent
#D942E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #232C99

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

Preview Lab → · Contrast checker → · Palette generator →

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