#232698#232698

#232698 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.179 H 271.8°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#232698
RGBrgb(35, 38, 152)
HSLhsl(238, 63%, 37%)
HSVhsv(238, 77%, 60%)
CMYKcmyk(77%, 75%, 0%, 40.4%)
CIE-LABlab(23.70, 38.96, -61.83)
CIE-LCHlch(23.70, 73.09, 302.21°)
OKLaboklab(35.87% 0.0055 -0.179)
OKLCHoklch(35.87% 0.179 271.8)
XYZxyz(7.0518, 4.0098, 30.1020)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232698 #989523
analogous
#236098 #232698 #5B2398
triadic
#232698 #982326 #269823
tetradic
#232698 #982360 #989523 #23985B
square
#232698 #982360 #989523 #23985B
split-complementary
#232698 #985B23 #609823
monochromatic
#0C0D35 #181A66 #232698 #2E32CA #5C5FD9

Accessibility & contrast

On white

11.65
#232698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#232698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232698
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232698#FFFFFF#000000##FFFFFF
##2326981.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #232698;
/* rgb */ color: rgb(35, 38, 152);
/* oklch */ color: oklch(35.9% 0.179 271.8);
Tailwind
colors: {
  custom: {
    50: '#7362b8',
    500: '#232698',
    950: '#000000',
  },
}
SCSS
$custom: #232698;
$custom-light: #7362b8;
$custom-dark: #000000;
JSON
{
  "hex": "#232698",
  "rgb": {
    "r": 35,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 238.462,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35872,
    "c": 0.17908,
    "h": 271.8
  },
  "luminance": 0.04011
}

Semantic roles & 50–950 ramp

primary
#232698
secondary
#BEBB59
accent
#E142E6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #232698

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

Preview Lab → · Contrast checker → · Palette generator →

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