#23397B#23397B

#23397B is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.116 H 266.7°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#23397B
RGBrgb(35, 57, 123)
HSLhsl(225, 56%, 31%)
HSVhsv(225, 72%, 48%)
CMYKcmyk(71.5%, 53.7%, 0%, 51.8%)
CIE-LABlab(25.90, 15.45, -40.19)
CIE-LCHlch(25.90, 43.05, 291.03°)
OKLaboklab(36.68% -0.0066 -0.1154)
OKLCHoklch(36.68% 0.116 266.7)
XYZxyz(5.7302, 4.7131, 19.3428)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23397B #7B6523
analogous
#23657B #23397B #39237B
triadic
#23397B #7B2339 #397B23
tetradic
#23397B #7B2365 #7B6523 #237B39
square
#23397B #7B2365 #7B6523 #237B39
split-complementary
#23397B #7B3923 #657B23
monochromatic
#080D1C #15234B #23397B #314FAB #4C6CCC

Accessibility & contrast

On white

10.81
#23397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#23397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23397B
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23397B#FFFFFF#000000##FFFFFF
##23397B1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10427D
Deuteranopia (green-blind)
#003A7A
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23397b;
/* rgb */ color: rgb(35, 57, 123);
/* oklch */ color: oklch(36.7% 0.116 266.7);
Tailwind
colors: {
  custom: {
    50: '#6a6ea2',
    500: '#23397b',
    950: '#000000',
  },
}
SCSS
$custom: #23397b;
$custom-light: #6a6ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#23397b",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 225,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.11564,
    "h": 266.7
  },
  "luminance": 0.04714
}

Semantic roles & 50–950 ramp

primary
#23397B
secondary
#AE954C
accent
#B949DF
background
#F6F6FA
surface
#ECECF3
border
#C7C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23397B

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

Preview Lab → · Contrast checker → · Palette generator →

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