#23317E#23317E

#23317E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.131 H 270.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#23317E
RGBrgb(35, 49, 126)
HSLhsl(231, 57%, 32%)
HSVhsv(231, 72%, 49%)
CMYKcmyk(72.2%, 61.1%, 0%, 50.6%)
CIE-LABlab(23.87, 22.20, -45.38)
CIE-LCHlch(23.87, 50.52, 296.07°)
OKLaboklab(35.23% 0.0008 -0.1308)
OKLCHoklch(35.23% 0.131 270.4)
XYZxyz(5.5561, 4.0598, 20.2254)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23317E #7E7023
analogous
#235F7E #23317E #43237E
triadic
#23317E #7E2331 #317E23
tetradic
#23317E #7E235F #7E7023 #237E43
square
#23317E #7E235F #7E7023 #237E43
split-complementary
#23317E #7E4323 #5F7E23
monochromatic
#080C1E #161E4E #23317E #3044AE #4E61CE

Accessibility & contrast

On white

11.59
#23317E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#23317E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23317E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23317E#FFFFFF#000000##FFFFFF
##23317E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23317e;
/* rgb */ color: rgb(35, 49, 126);
/* oklch */ color: oklch(35.2% 0.131 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b68a4',
    500: '#23317e',
    950: '#000000',
  },
}
SCSS
$custom: #23317e;
$custom-light: #6b68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23317e",
  "rgb": {
    "r": 35,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 230.769,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3523,
    "c": 0.13083,
    "h": 270.4
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#23317E
secondary
#B0A14C
accent
#C848E0
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #23317E

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

Preview Lab → · Contrast checker → · Palette generator →

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