#232398#232398

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

Color values

HEX#232398
RGBrgb(35, 35, 152)
HSLhsl(240, 63%, 37%)
HSVhsv(240, 77%, 60%)
CMYKcmyk(77%, 77%, 0%, 40.4%)
CIE-LABlab(23.09, 40.71, -62.85)
CIE-LCHlch(23.09, 74.88, 302.93°)
OKLaboklab(35.44% 0.0069 -0.1819)
OKLCHoklch(35.44% 0.182 272.2)
XYZxyz(6.9598, 3.8256, 30.0713)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232398 #989823
analogous
#235E98 #232398 #5E2398
triadic
#232398 #982323 #239823
tetradic
#232398 #98235E #989823 #23985E
square
#232398 #98235E #989823 #23985E
split-complementary
#232398 #985E23 #5E9823
monochromatic
#0C0C35 #181866 #232398 #2E2ECA #5C5CD9

Accessibility & contrast

On white

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

On black

1.77
#232398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##232398#FFFFFF#000000##FFFFFF
##2323981.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232398;
/* rgb */ color: rgb(35, 35, 152);
/* oklch */ color: oklch(35.4% 0.182 272.2);
Tailwind
colors: {
  custom: {
    50: '#7360b8',
    500: '#232398',
    950: '#000000',
  },
}
SCSS
$custom: #232398;
$custom-light: #7360b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232398",
  "rgb": {
    "r": 35,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 240,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.18207,
    "h": 272.2
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#232398
secondary
#BEBE59
accent
#E642E6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232398

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

Preview Lab → · Contrast checker → · Palette generator →

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