#232C9C#232C9C

#232C9C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.178 H 270.7°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#232C9C
RGBrgb(35, 44, 156)
HSLhsl(236, 63%, 37%)
HSVhsv(236, 78%, 61%)
CMYKcmyk(77.6%, 71.8%, 0%, 38.8%)
CIE-LABlab(25.44, 36.73, -61.43)
CIE-LCHlch(25.44, 71.57, 300.88°)
OKLaboklab(37.24% 0.0021 -0.1778)
OKLCHoklch(37.24% 0.178 270.7)
XYZxyz(7.5925, 4.5582, 31.9257)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C9C #9C9323
analogous
#23699C #232C9C #56239C
triadic
#232C9C #9C232C #2C9C23
tetradic
#232C9C #9C2369 #9C9323 #239C56
square
#232C9C #9C2369 #9C9323 #239C56
split-complementary
#232C9C #9C5623 #699C23
monochromatic
#0D1038 #181E6A #232C9C #2E3ACE #5E68DB

Accessibility & contrast

On white

10.98
#232C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#232C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C9C
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C9C#FFFFFF#000000##FFFFFF
##232C9C1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #232c9c;
/* rgb */ color: rgb(35, 44, 156);
/* oklch */ color: oklch(37.2% 0.178 270.7);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#232c9c',
    950: '#000000',
  },
}
SCSS
$custom: #232c9c;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#232c9c",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 235.537,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37238,
    "c": 0.17784,
    "h": 270.7
  },
  "luminance": 0.04559
}

Semantic roles & 50–950 ramp

primary
#232C9C
secondary
#C0B85B
accent
#DA41E6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #232C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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