#232898#232898

#232898 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.177 H 271.5°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#232898
RGBrgb(35, 40, 152)
HSLhsl(237, 63%, 37%)
HSVhsv(237, 77%, 60%)
CMYKcmyk(77%, 73.7%, 0%, 40.4%)
CIE-LABlab(24.13, 37.76, -61.13)
CIE-LCHlch(24.13, 71.85, 301.71°)
OKLaboklab(36.18% 0.0046 -0.1769)
OKLCHoklch(36.18% 0.177 271.5)
XYZxyz(7.1175, 4.1411, 30.1239)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232898 #989323
analogous
#236398 #232898 #592398
triadic
#232898 #982328 #289823
tetradic
#232898 #982363 #989323 #239859
square
#232898 #982363 #989323 #239859
split-complementary
#232898 #985923 #639823
monochromatic
#0C0E35 #181B66 #232898 #2E35CA #5C61D9

Accessibility & contrast

On white

11.49
#232898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#232898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232898
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232898#FFFFFF#000000##FFFFFF
##2328981.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9B
Deuteranopia (green-blind)
#003496
Tritanopia (blue-blind)
#00485D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #232898;
/* rgb */ color: rgb(35, 40, 152);
/* oklch */ color: oklch(36.2% 0.177 271.5);
Tailwind
colors: {
  custom: {
    50: '#7263b7',
    500: '#232898',
    950: '#000000',
  },
}
SCSS
$custom: #232898;
$custom-light: #7263b7;
$custom-dark: #000000;
JSON
{
  "hex": "#232898",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 152
  },
  "hsl": {
    "h": 237.436,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36178,
    "c": 0.17701,
    "h": 271.5
  },
  "luminance": 0.04142
}

Semantic roles & 50–950 ramp

primary
#232898
secondary
#BEBA59
accent
#DF42E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232898

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

Preview Lab → · Contrast checker → · Palette generator →

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