#23249E#23249E

#23249E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.189 H 271.6°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#23249E
RGBrgb(35, 36, 158)
HSLhsl(240, 64%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(77.8%, 77.2%, 0%, 38%)
CIE-LABlab(23.96, 42.17, -65.09)
CIE-LCHlch(23.96, 77.56, 302.94°)
OKLaboklab(36.25% 0.0053 -0.1884)
OKLCHoklch(36.25% 0.189 271.6)
XYZxyz(7.4935, 4.0869, 32.7350)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249E #9E9D23
analogous
#23629E #23249E #5F239E
triadic
#23249E #9E2324 #249E23
tetradic
#23249E #9E2362 #9E9D23 #239E5F
square
#23249E #9E2362 #9E9D23 #239E5F
split-complementary
#23249E #9E5F23 #629E23
monochromatic
#0D0D3A #18196C #23249E #2E2FD0 #6061DC

Accessibility & contrast

On white

11.55
#23249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#23249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23249E
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249E#FFFFFF#000000##FFFFFF
##23249E1.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA1
Deuteranopia (green-blind)
#00339C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23249e;
/* rgb */ color: rgb(35, 36, 158);
/* oklch */ color: oklch(36.2% 0.189 271.6);
Tailwind
colors: {
  custom: {
    50: '#7461bc',
    500: '#23249e',
    950: '#000000',
  },
}
SCSS
$custom: #23249e;
$custom-light: #7461bc;
$custom-dark: #000000;
JSON
{
  "hex": "#23249e",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 239.512,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36247,
    "c": 0.18851,
    "h": 271.6
  },
  "luminance": 0.04088
}

Semantic roles & 50–950 ramp

primary
#23249E
secondary
#C1C05C
accent
#E541E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23249E

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

Preview Lab → · Contrast checker → · Palette generator →

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