#232C76#232C76

#232C76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.126 H 272.4°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#232C76
RGBrgb(35, 44, 118)
HSLhsl(233, 54%, 30%)
HSVhsv(233, 70%, 46%)
CMYKcmyk(70.3%, 62.7%, 0%, 53.7%)
CIE-LABlab(21.82, 22.59, -43.63)
CIE-LCHlch(21.82, 49.13, 297.37°)
OKLaboklab(33.5% 0.0052 -0.1258)
OKLCHoklch(33.5% 0.126 272.4)
XYZxyz(4.8627, 3.4662, 17.5488)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232C76 #766D23
analogous
#235576 #232C76 #442376
triadic
#232C76 #76232C #2C7623
tetradic
#232C76 #762355 #766D23 #237644
square
#232C76 #762355 #766D23 #237644
split-complementary
#232C76 #764423 #557623
monochromatic
#070918 #151A47 #232C76 #313EA5 #4A58C9

Accessibility & contrast

On white

12.40
#232C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#232C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232C76
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232C76#FFFFFF#000000##FFFFFF
##232C761.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #232c76;
/* rgb */ color: rgb(35, 44, 118);
/* oklch */ color: oklch(33.5% 0.126 272.4);
Tailwind
colors: {
  custom: {
    50: '#69659e',
    500: '#232c76',
    950: '#000000',
  },
}
SCSS
$custom: #232c76;
$custom-light: #69659e;
$custom-dark: #000000;
JSON
{
  "hex": "#232c76",
  "rgb": {
    "r": 35,
    "g": 44,
    "b": 118
  },
  "hsl": {
    "h": 233.494,
    "s": 54.248,
    "l": 30
  },
  "oklch": {
    "l": 0.33497,
    "c": 0.12587,
    "h": 272.4
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#232C76
secondary
#A99F4C
accent
#CE4ADE
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #232C76

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

Preview Lab → · Contrast checker → · Palette generator →

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