#23297E#23297E

#23297E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.141 H 272.9°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#23297E
RGBrgb(35, 41, 126)
HSLhsl(236, 57%, 32%)
HSVhsv(236, 72%, 49%)
CMYKcmyk(72.2%, 67.5%, 0%, 50.6%)
CIE-LABlab(21.76, 27.67, -48.82)
CIE-LCHlch(21.76, 56.12, 299.54°)
OKLaboklab(33.67% 0.0072 -0.141)
OKLCHoklch(33.67% 0.141 272.9)
XYZxyz(5.2507, 3.4491, 20.1236)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23297E #7E7823
analogous
#23577E #23297E #4B237E
triadic
#23297E #7E2329 #297E23
tetradic
#23297E #7E2357 #7E7823 #237E4B
square
#23297E #7E2357 #7E7823 #237E4B
split-complementary
#23297E #7E4B23 #577E23
monochromatic
#080A1E #16194E #23297E #3039AE #4E56CE

Accessibility & contrast

On white

12.43
#23297E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#23297E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23297E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23297E#FFFFFF#000000##FFFFFF
##23297E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23297e;
/* rgb */ color: rgb(35, 41, 126);
/* oklch */ color: oklch(33.7% 0.141 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c63a4',
    500: '#23297e',
    950: '#000000',
  },
}
SCSS
$custom: #23297e;
$custom-light: #6c63a4;
$custom-dark: #000000;
JSON
{
  "hex": "#23297e",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 126
  },
  "hsl": {
    "h": 236.044,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33675,
    "c": 0.14119,
    "h": 272.9
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#23297E
secondary
#B0AA4C
accent
#D648E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23297E

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

Preview Lab → · Contrast checker → · Palette generator →

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