#232498#232498

#232498 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.181 H 272.0°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#232498
RGBrgb(35, 36, 152)
HSLhsl(239, 63%, 37%)
HSVhsv(239, 77%, 60%)
CMYKcmyk(77%, 76.3%, 0%, 40.4%)
CIE-LABlab(23.29, 40.13, -62.52)
CIE-LCHlch(23.29, 74.29, 302.70°)
OKLaboklab(35.58% 0.0064 -0.181)
OKLCHoklch(35.58% 0.181 272)
XYZxyz(6.9896, 3.8853, 30.0812)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232498 #989723
analogous
#235F98 #232498 #5D2398
triadic
#232498 #982324 #249823
tetradic
#232498 #98235F #989723 #23985D
square
#232498 #98235F #989723 #23985D
split-complementary
#232498 #985D23 #5F9823
monochromatic
#0C0C35 #181866 #232498 #2E30CA #5C5DD9

Accessibility & contrast

On white

11.82
#232498 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#232498 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232498
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232498#FFFFFF#000000##FFFFFF
##2324981.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #232498;
/* rgb */ color: rgb(35, 36, 152);
/* oklch */ color: oklch(35.6% 0.181 272.0);
Tailwind
colors: {
  custom: {
    50: '#7360b8',
    500: '#232498',
    950: '#000000',
  },
}
SCSS
$custom: #232498;
$custom-light: #7360b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232498",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 239.487,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35578,
    "c": 0.18108,
    "h": 272
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#232498
secondary
#BEBD59
accent
#E442E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232498

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

Preview Lab → · Contrast checker → · Palette generator →

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