#232496#232496

#232496 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.179 H 272.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#232496
RGBrgb(35, 36, 150)
HSLhsl(239, 62%, 36%)
HSVhsv(239, 77%, 59%)
CMYKcmyk(76.7%, 76%, 0%, 41.2%)
CIE-LABlab(23.07, 39.45, -61.65)
CIE-LCHlch(23.07, 73.19, 302.61°)
OKLaboklab(35.36% 0.0068 -0.1784)
OKLCHoklch(35.36% 0.179 272.2)
XYZxyz(6.8272, 3.8204, 29.2258)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232496 #969523
analogous
#235E96 #232496 #5C2396
triadic
#232496 #962324 #249623
tetradic
#232496 #96235E #969523 #23965C
square
#232496 #96235E #969523 #23965C
split-complementary
#232496 #965C23 #5E9623
monochromatic
#0C0C33 #171864 #232496 #2F30C8 #5B5CD9

Accessibility & contrast

On white

11.90
#232496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#232496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232496
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232496#FFFFFF#000000##FFFFFF
##2324961.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232496;
/* rgb */ color: rgb(35, 36, 150);
/* oklch */ color: oklch(35.4% 0.179 272.2);
Tailwind
colors: {
  custom: {
    50: '#7260b6',
    500: '#232496',
    950: '#000000',
  },
}
SCSS
$custom: #232496;
$custom-light: #7260b6;
$custom-dark: #000000;
JSON
{
  "hex": "#232496",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 239.478,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35357,
    "c": 0.17858,
    "h": 272.2
  },
  "luminance": 0.03821
}

Semantic roles & 50–950 ramp

primary
#232496
secondary
#BDBC58
accent
#E443E5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232496

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

Preview Lab → · Contrast checker → · Palette generator →

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