#23249F#23249F

#23249F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.4% C 0.190 H 271.5°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#23249F
RGBrgb(35, 36, 159)
HSLhsl(240, 64%, 38%)
HSVhsv(240, 78%, 62%)
CMYKcmyk(78%, 77.4%, 0%, 37.6%)
CIE-LABlab(24.07, 42.51, -65.52)
CIE-LCHlch(24.07, 78.10, 302.98°)
OKLaboklab(36.36% 0.0051 -0.1897)
OKLCHoklch(36.36% 0.19 271.5)
XYZxyz(7.5799, 4.1215, 33.1902)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23249F #9F9E23
analogous
#23629F #23249F #60239F
triadic
#23249F #9F2324 #249F23
tetradic
#23249F #9F2362 #9F9E23 #239F60
square
#23249F #9F2362 #9F9E23 #239F60
split-complementary
#23249F #9F6023 #629F23
monochromatic
#0D0D3B #18196D #23249F #2E2FD1 #6061DC

Accessibility & contrast

On white

11.51
#23249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23249F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23249F#FFFFFF#000000##FFFFFF
##23249F1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #23249f;
/* rgb */ color: rgb(35, 36, 159);
/* oklch */ color: oklch(36.4% 0.190 271.5);
Tailwind
colors: {
  custom: {
    50: '#7561bd',
    500: '#23249f',
    950: '#000000',
  },
}
SCSS
$custom: #23249f;
$custom-light: #7561bd;
$custom-dark: #000000;
JSON
{
  "hex": "#23249f",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 239.516,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36359,
    "c": 0.18975,
    "h": 271.5
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#23249F
secondary
#C1C05D
accent
#E641E7
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #23249F

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

Preview Lab → · Contrast checker → · Palette generator →

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