#23248F#23248F

#23248F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.6% C 0.170 H 272.7°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#23248F
RGBrgb(35, 36, 143)
HSLhsl(239, 61%, 35%)
HSVhsv(239, 76%, 56%)
CMYKcmyk(75.5%, 74.8%, 0%, 43.9%)
CIE-LABlab(22.31, 37.02, -58.58)
CIE-LCHlch(22.31, 69.30, 302.29°)
OKLaboklab(34.59% 0.0081 -0.1695)
OKLCHoklch(34.59% 0.17 272.7)
XYZxyz(6.2803, 3.6016, 26.3455)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23248F #8F8E23
analogous
#235A8F #23248F #58238F
triadic
#23248F #8F2324 #248F23
tetradic
#23248F #8F235A #8F8E23 #238F58
square
#23248F #8F235A #8F8E23 #238F58
split-complementary
#23248F #8F5823 #5A8F23
monochromatic
#0B0B2D #17185E #23248F #2F30C0 #5758D6

Accessibility & contrast

On white

12.21
#23248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#23248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23248F
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23248F#FFFFFF#000000##FFFFFF
##23248F1.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00308D
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #23248f;
/* rgb */ color: rgb(35, 36, 143);
/* oklch */ color: oklch(34.6% 0.170 272.7);
Tailwind
colors: {
  custom: {
    50: '#7060b1',
    500: '#23248f',
    950: '#000000',
  },
}
SCSS
$custom: #23248f;
$custom-light: #7060b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23248f",
  "rgb": {
    "r": 35,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 239.444,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3459,
    "c": 0.1697,
    "h": 272.7
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#23248F
secondary
#BAB954
accent
#E244E4
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #23248F

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

Preview Lab → · Contrast checker → · Palette generator →

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