#23396F#23396F

#23396F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.097 H 265.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#23396F
RGBrgb(35, 57, 111)
HSLhsl(223, 52%, 29%)
HSVhsv(223, 68%, 44%)
CMYKcmyk(68.5%, 48.6%, 0%, 56.5%)
CIE-LABlab(25.05, 10.72, -33.94)
CIE-LCHlch(25.05, 35.59, 287.54°)
OKLaboklab(35.76% -0.0082 -0.0971)
OKLCHoklch(35.76% 0.097 265.2)
XYZxyz(5.0245, 4.4308, 15.6263)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23396F #6F5923
analogous
#235F6F #23396F #33236F
triadic
#23396F #6F2339 #396F23
tetradic
#23396F #6F235F #6F5923 #236F33
square
#23396F #6F235F #6F5923 #236F33
split-complementary
#23396F #6F3323 #5F6F23
monochromatic
#070C17 #142140 #23396F #32519E #476CC5

Accessibility & contrast

On white

11.13
#23396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#23396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23396F
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23396F#FFFFFF#000000##FFFFFF
##23396F1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F71
Deuteranopia (green-blind)
#10386E
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23396f;
/* rgb */ color: rgb(35, 57, 111);
/* oklch */ color: oklch(35.8% 0.097 265.2);
Tailwind
colors: {
  custom: {
    50: '#676f99',
    500: '#23396f',
    950: '#000000',
  },
}
SCSS
$custom: #23396f;
$custom-light: #676f99;
$custom-dark: #000000;
JSON
{
  "hex": "#23396f",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 222.632,
    "s": 52.055,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35758,
    "c": 0.09742,
    "h": 265.2
  },
  "luminance": 0.04431
}

Semantic roles & 50–950 ramp

primary
#23396F
secondary
#A2894C
accent
#B24CDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #23396F

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

Preview Lab → · Contrast checker → · Palette generator →

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