#23289E#23289E

#23289E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.185 H 271.1°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#23289E
RGBrgb(35, 40, 158)
HSLhsl(238, 64%, 38%)
HSVhsv(238, 78%, 62%)
CMYKcmyk(77.8%, 74.7%, 0%, 38%)
CIE-LABlab(24.77, 39.86, -63.74)
CIE-LCHlch(24.77, 75.18, 302.02°)
OKLaboklab(36.83% 0.0037 -0.1845)
OKLCHoklch(36.83% 0.185 271.1)
XYZxyz(7.6214, 4.3427, 32.7777)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23289E #9E9923
analogous
#23659E #23289E #5B239E
triadic
#23289E #9E2328 #289E23
tetradic
#23289E #9E2365 #9E9923 #239E5B
square
#23289E #9E2365 #9E9923 #239E5B
split-complementary
#23289E #9E5B23 #659E23
monochromatic
#0D0F3A #181B6C #23289E #2E35D0 #6065DC

Accessibility & contrast

On white

11.24
#23289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#23289E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23289E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23289E#FFFFFF#000000##FFFFFF
##23289E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23289e;
/* rgb */ color: rgb(35, 40, 158);
/* oklch */ color: oklch(36.8% 0.185 271.1);
Tailwind
colors: {
  custom: {
    50: '#7463bc',
    500: '#23289e',
    950: '#000000',
  },
}
SCSS
$custom: #23289e;
$custom-light: #7463bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23289e",
  "rgb": {
    "r": 35,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 237.561,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36826,
    "c": 0.18459,
    "h": 271.1
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#23289E
secondary
#C1BD5C
accent
#E041E7
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #23289E

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

Preview Lab → · Contrast checker → · Palette generator →

#23289E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva