#23249D#23249D

#23249D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.1% C 0.187 H 271.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#23249D
RGBrgb(35, 36, 157)
HSLhsl(240, 64%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(77.7%, 77.1%, 0%, 38.4%)
CIE-LABlab(23.84, 41.83, -64.67)
CIE-LCHlch(23.84, 77.02, 302.90°)
OKLaboklab(36.14% 0.0055 -0.1872)
OKLCHoklch(36.14% 0.187 271.7)
XYZxyz(7.4078, 4.0526, 32.2836)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249D #9D9C23
analogous
#23619D #23249D #5F239D
triadic
#23249D #9D2324 #249D23
tetradic
#23249D #9D2361 #9D9C23 #239D5F
square
#23249D #9D2361 #9D9C23 #239D5F
split-complementary
#23249D #9D5F23 #619D23
monochromatic
#0D0D39 #18196B #23249D #2E2FCF #5F60DB

Accessibility & contrast

On white

11.60
#23249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#23249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23249D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249D#FFFFFF#000000##FFFFFF
##23249D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA0
Deuteranopia (green-blind)
#00339B
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23249d;
/* rgb */ color: rgb(35, 36, 157);
/* oklch */ color: oklch(36.1% 0.187 271.7);
Tailwind
colors: {
  custom: {
    50: '#7461bb',
    500: '#23249d',
    950: '#000000',
  },
}
SCSS
$custom: #23249d;
$custom-light: #7461bb;
$custom-dark: #000000;
JSON
{
  "hex": "#23249d",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 239.508,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36135,
    "c": 0.18729,
    "h": 271.7
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#23249D
secondary
#C0BF5C
accent
#E541E7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23249D

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

Preview Lab → · Contrast checker → · Palette generator →

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