#23397E#23397E

#23397E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.120 H 267.0°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#23397E
RGBrgb(35, 57, 126)
HSLhsl(225, 57%, 32%)
HSVhsv(225, 72%, 49%)
CMYKcmyk(72.2%, 54.8%, 0%, 50.6%)
CIE-LABlab(26.13, 16.63, -41.71)
CIE-LCHlch(26.13, 44.91, 291.74°)
OKLaboklab(36.92% -0.0063 -0.1199)
OKLCHoklch(36.92% 0.12 267)
XYZxyz(5.9209, 4.7893, 20.3470)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23397E #7E6823
analogous
#23677E #23397E #3B237E
triadic
#23397E #7E2339 #397E23
tetradic
#23397E #7E2367 #7E6823 #237E3B
square
#23397E #7E2367 #7E6823 #237E3B
split-complementary
#23397E #7E3B23 #677E23
monochromatic
#080E1E #16234E #23397E #304FAE #4E6DCE

Accessibility & contrast

On white

10.73
#23397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#23397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23397E
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23397E#FFFFFF#000000##FFFFFF
##23397E1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23397e;
/* rgb */ color: rgb(35, 57, 126);
/* oklch */ color: oklch(36.9% 0.120 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a6fa4',
    500: '#23397e',
    950: '#000000',
  },
}
SCSS
$custom: #23397e;
$custom-light: #6a6fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#23397e",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 225.495,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.1201,
    "h": 267
  },
  "luminance": 0.0479
}

Semantic roles & 50–950 ramp

primary
#23397E
secondary
#B0984C
accent
#BB48E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23397E

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

Preview Lab → · Contrast checker → · Palette generator →

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