#232598#232598

#232598 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.7% C 0.180 H 271.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#232598
RGBrgb(35, 37, 152)
HSLhsl(239, 63%, 37%)
HSVhsv(239, 77%, 60%)
CMYKcmyk(77%, 75.7%, 0%, 40.4%)
CIE-LABlab(23.49, 39.55, -62.18)
CIE-LCHlch(23.49, 73.69, 302.46°)
OKLaboklab(35.72% 0.006 -0.18)
OKLCHoklch(35.72% 0.18 271.9)
XYZxyz(7.0203, 3.9467, 30.0915)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232598 #989623
analogous
#236098 #232598 #5C2398
triadic
#232598 #982325 #259823
tetradic
#232598 #982360 #989623 #23985C
square
#232598 #982360 #989623 #23985C
split-complementary
#232598 #985C23 #609823
monochromatic
#0C0D35 #181966 #232598 #2E31CA #5C5ED9

Accessibility & contrast

On white

11.74
#232598 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#232598 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232598
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232598#FFFFFF#000000##FFFFFF
##2325981.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9B
Deuteranopia (green-blind)
#003296
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #232598;
/* rgb */ color: rgb(35, 37, 152);
/* oklch */ color: oklch(35.7% 0.180 271.9);
Tailwind
colors: {
  custom: {
    50: '#7361b8',
    500: '#232598',
    950: '#000000',
  },
}
SCSS
$custom: #232598;
$custom-light: #7361b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232598",
  "rgb": {
    "r": 35,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 238.974,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35724,
    "c": 0.18009,
    "h": 271.9
  },
  "luminance": 0.03947
}

Semantic roles & 50–950 ramp

primary
#232598
secondary
#BEBC59
accent
#E342E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232598

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

Preview Lab → · Contrast checker → · Palette generator →

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