#23397A#23397A

#23397A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.114 H 266.6°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#23397A
RGBrgb(35, 57, 122)
HSLhsl(225, 55%, 31%)
HSVhsv(225, 71%, 48%)
CMYKcmyk(71.3%, 53.3%, 0%, 52.2%)
CIE-LABlab(25.83, 15.05, -39.67)
CIE-LCHlch(25.83, 42.43, 290.78°)
OKLaboklab(36.6% -0.0067 -0.1139)
OKLCHoklch(36.6% 0.114 266.6)
XYZxyz(5.6679, 4.6882, 19.0148)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23397A #7A6423
analogous
#23647A #23397A #39237A
triadic
#23397A #7A2339 #397A23
tetradic
#23397A #7A2364 #7A6423 #237A39
square
#23397A #7A2364 #7A6423 #237A39
split-complementary
#23397A #7A3923 #647A23
monochromatic
#080D1B #15234A #23397A #314FAA #4C6CCC

Accessibility & contrast

On white

10.84
#23397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23397A
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23397A#FFFFFF#000000##FFFFFF
##23397A1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11417C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004853
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #23397a;
/* rgb */ color: rgb(35, 57, 122);
/* oklch */ color: oklch(36.6% 0.114 266.6);
Tailwind
colors: {
  custom: {
    50: '#696ea1',
    500: '#23397a',
    950: '#000000',
  },
}
SCSS
$custom: #23397a;
$custom-light: #696ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#23397a",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 224.828,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36602,
    "c": 0.11414,
    "h": 266.6
  },
  "luminance": 0.04689
}

Semantic roles & 50–950 ramp

primary
#23397A
secondary
#AD944C
accent
#B949DF
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #23397A

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

Preview Lab → · Contrast checker → · Palette generator →

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