#23396E#23396E

#23396E is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.7% C 0.096 H 265.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#23396E
RGBrgb(35, 57, 110)
HSLhsl(222, 52%, 28%)
HSVhsv(222, 68%, 43%)
CMYKcmyk(68.2%, 48.2%, 0%, 56.9%)
CIE-LABlab(24.98, 10.33, -33.41)
CIE-LCHlch(24.98, 34.97, 287.19°)
OKLaboklab(35.68% -0.0084 -0.0955)
OKLCHoklch(35.68% 0.096 265)
XYZxyz(4.9698, 4.4089, 15.3379)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23396E #6E5823
analogous
#235E6E #23396E #32236E
triadic
#23396E #6E2339 #396E23
tetradic
#23396E #6E235E #6E5823 #236E32
square
#23396E #6E235E #6E5823 #236E32
split-complementary
#23396E #6E3223 #5E6E23
monochromatic
#070C17 #142140 #23396E #32519C #476CC4

Accessibility & contrast

On white

11.16
#23396E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#23396E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23396E
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23396E#FFFFFF#000000##FFFFFF
##23396E1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#00454E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #23396e;
/* rgb */ color: rgb(35, 57, 110);
/* oklch */ color: oklch(35.7% 0.096 265.0);
Tailwind
colors: {
  custom: {
    50: '#676f98',
    500: '#23396e',
    950: '#000000',
  },
}
SCSS
$custom: #23396e;
$custom-light: #676f98;
$custom-dark: #000000;
JSON
{
  "hex": "#23396e",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 222.4,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.35684,
    "c": 0.09588,
    "h": 265
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#23396E
secondary
#A1884C
accent
#B14DDB
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070D
muted
#7A7A7E

Preview Lab

Preview with #23396E

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

Preview Lab → · Contrast checker → · Palette generator →

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