#23297F#23297F

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

Color values

HEX#23297F
RGBrgb(35, 41, 127)
HSLhsl(236, 57%, 32%)
HSVhsv(236, 72%, 50%)
CMYKcmyk(72.4%, 67.7%, 0%, 50.2%)
CIE-LABlab(21.85, 28.05, -49.30)
CIE-LCHlch(21.85, 56.72, 299.64°)
OKLaboklab(33.77% 0.0071 -0.1424)
OKLCHoklch(33.77% 0.143 272.9)
XYZxyz(5.3156, 3.4750, 20.4652)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23297F #7F7923
analogous
#23577F #23297F #4B237F
triadic
#23297F #7F2329 #297F23
tetradic
#23297F #7F2357 #7F7923 #237F4B
square
#23297F #7F2357 #7F7923 #237F4B
split-complementary
#23297F #7F4B23 #577F23
monochromatic
#090A1F #161A4F #23297F #3038AF #4E56CE

Accessibility & contrast

On white

12.39
#23297F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#23297F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23297F
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23297F#FFFFFF#000000##FFFFFF
##23297F1.0012.391.7012.39
#FFFFFF12.391.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #23297f;
/* rgb */ color: rgb(35, 41, 127);
/* oklch */ color: oklch(33.8% 0.143 272.9);
Tailwind
colors: {
  custom: {
    50: '#6c63a5',
    500: '#23297f',
    950: '#000000',
  },
}
SCSS
$custom: #23297f;
$custom-light: #6c63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23297f",
  "rgb": {
    "r": 35,
    "g": 41,
    "b": 127
  },
  "hsl": {
    "h": 236.087,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33773,
    "c": 0.14259,
    "h": 272.9
  },
  "luminance": 0.03476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23297F

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

Preview Lab → · Contrast checker → · Palette generator →

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