#23397F#23397F

#23397F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.0% C 0.122 H 267.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#23397F
RGBrgb(35, 57, 127)
HSLhsl(226, 57%, 32%)
HSVhsv(226, 72%, 50%)
CMYKcmyk(72.4%, 55.1%, 0%, 50.2%)
CIE-LABlab(26.20, 17.02, -42.22)
CIE-LCHlch(26.20, 45.52, 291.96°)
OKLaboklab(37% -0.0062 -0.1214)
OKLCHoklch(37% 0.122 267.1)
XYZxyz(5.9857, 4.8153, 20.6885)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23397F #7F6923
analogous
#23677F #23397F #3B237F
triadic
#23397F #7F2339 #397F23
tetradic
#23397F #7F2367 #7F6923 #237F3B
square
#23397F #7F2367 #7F6923 #237F3B
split-complementary
#23397F #7F3B23 #677F23
monochromatic
#090E1F #16234F #23397F #304FAF #4E6DCE

Accessibility & contrast

On white

10.70
#23397F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23397F
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23397F#FFFFFF#000000##FFFFFF
##23397F1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #23397f;
/* rgb */ color: rgb(35, 57, 127);
/* oklch */ color: oklch(37.0% 0.122 267.1);
Tailwind
colors: {
  custom: {
    50: '#6b6fa5',
    500: '#23397f',
    950: '#000000',
  },
}
SCSS
$custom: #23397f;
$custom-light: #6b6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#23397f",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 225.652,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37005,
    "c": 0.12158,
    "h": 267.1
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#23397F
secondary
#B1994C
accent
#BC48E0
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #23397F

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

Preview Lab → · Contrast checker → · Palette generator →

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