#232396#232396

#232396 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.180 H 272.3°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#232396
RGBrgb(35, 35, 150)
HSLhsl(240, 62%, 36%)
HSVhsv(240, 77%, 59%)
CMYKcmyk(76.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(22.86, 40.02, -61.99)
CIE-LCHlch(22.86, 73.79, 302.85°)
OKLaboklab(35.21% 0.0072 -0.1794)
OKLCHoklch(35.21% 0.18 272.3)
XYZxyz(6.7973, 3.7607, 29.2159)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232396 #969623
analogous
#235D96 #232396 #5D2396
triadic
#232396 #962323 #239623
tetradic
#232396 #96235D #969623 #23965D
square
#232396 #96235D #969623 #23965D
split-complementary
#232396 #965D23 #5D9623
monochromatic
#0C0C33 #171764 #232396 #2F2FC8 #5B5BD9

Accessibility & contrast

On white

11.98
#232396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#232396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232396
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232396#FFFFFF#000000##FFFFFF
##2323961.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232396;
/* rgb */ color: rgb(35, 35, 150);
/* oklch */ color: oklch(35.2% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#7260b6',
    500: '#232396',
    950: '#000000',
  },
}
SCSS
$custom: #232396;
$custom-light: #7260b6;
$custom-dark: #000000;
JSON
{
  "hex": "#232396",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 240,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35212,
    "c": 0.17958,
    "h": 272.3
  },
  "luminance": 0.03761
}

Semantic roles & 50–950 ramp

primary
#232396
secondary
#BDBD58
accent
#E543E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232396

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

Preview Lab → · Contrast checker → · Palette generator →

#232396 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva