#23397D#23397D

#23397D is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.8% C 0.119 H 266.9°. Best body text is #FFFFFF at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#23397D
RGBrgb(35, 57, 125)
HSLhsl(225, 56%, 31%)
HSVhsv(225, 72%, 49%)
CMYKcmyk(72%, 54.4%, 0%, 51%)
CIE-LABlab(26.05, 16.24, -41.21)
CIE-LCHlch(26.05, 44.29, 291.51°)
OKLaboklab(36.84% -0.0064 -0.1184)
OKLCHoklch(36.84% 0.119 266.9)
XYZxyz(5.8567, 4.7637, 20.0089)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23397D #7D6723
analogous
#23667D #23397D #3A237D
triadic
#23397D #7D2339 #397D23
tetradic
#23397D #7D2366 #7D6723 #237D3A
square
#23397D #7D2366 #7D6723 #237D3A
split-complementary
#23397D #7D3A23 #667D23
monochromatic
#080D1D #16234D #23397D #304FAD #4D6CCD

Accessibility & contrast

On white

10.75
#23397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#23397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23397D
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23397D#FFFFFF#000000##FFFFFF
##23397D1.0010.751.9510.75
#FFFFFF10.751.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C427F
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23397d;
/* rgb */ color: rgb(35, 57, 125);
/* oklch */ color: oklch(36.8% 0.119 266.9);
Tailwind
colors: {
  custom: {
    50: '#6a6fa3',
    500: '#23397d',
    950: '#000000',
  },
}
SCSS
$custom: #23397d;
$custom-light: #6a6fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#23397d",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 225.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.36842,
    "c": 0.11861,
    "h": 266.9
  },
  "luminance": 0.04764
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23397D

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

Preview Lab → · Contrast checker → · Palette generator →

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