#23297D#23297D

#23297D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.140 H 273.0°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#23297D
RGBrgb(35, 41, 125)
HSLhsl(236, 56%, 31%)
HSVhsv(236, 72%, 49%)
CMYKcmyk(72%, 67.2%, 0%, 51%)
CIE-LABlab(21.67, 27.30, -48.34)
CIE-LCHlch(21.67, 55.52, 299.45°)
OKLaboklab(33.58% 0.0073 -0.1396)
OKLCHoklch(33.58% 0.14 273)
XYZxyz(5.1865, 3.4234, 19.7855)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23297D #7D7723
analogous
#23567D #23297D #4A237D
triadic
#23297D #7D2329 #297D23
tetradic
#23297D #7D2356 #7D7723 #237D4A
square
#23297D #7D2356 #7D7723 #237D4A
split-complementary
#23297D #7D4A23 #567D23
monochromatic
#080A1D #16194D #23297D #3039AD #4D56CD

Accessibility & contrast

On white

12.46
#23297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#23297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23297D
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23297D#FFFFFF#000000##FFFFFF
##23297D1.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23297d;
/* rgb */ color: rgb(35, 41, 125);
/* oklch */ color: oklch(33.6% 0.140 273.0);
Tailwind
colors: {
  custom: {
    50: '#6b63a3',
    500: '#23297d',
    950: '#000000',
  },
}
SCSS
$custom: #23297d;
$custom-light: #6b63a3;
$custom-dark: #000000;
JSON
{
  "hex": "#23297d",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 236,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33578,
    "c": 0.13979,
    "h": 273
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#23297D
secondary
#AFA94C
accent
#D548E0
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #23297D

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

Preview Lab → · Contrast checker → · Palette generator →

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