#23188F#23188F

#23188F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.181 H 274.2°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#23188F
RGBrgb(35, 24, 143)
HSLhsl(246, 71%, 33%)
HSVhsv(246, 83%, 56%)
CMYKcmyk(75.5%, 83.2%, 0%, 43.9%)
CIE-LABlab(20.02, 43.58, -62.37)
CIE-LCHlch(20.02, 76.08, 304.94°)
OKLaboklab(32.98% 0.0132 -0.1804)
OKLCHoklch(32.98% 0.181 274.2)
XYZxyz(5.9761, 2.9932, 26.2441)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23188F #848F18
analogous
#18498F #23188F #5E188F
triadic
#23188F #8F2318 #188F23
tetradic
#23188F #8F1849 #848F18 #188F5E
square
#23188F #8F1849 #848F18 #188F5E
split-complementary
#23188F #8F5E18 #498F18
monochromatic
#090626 #160F5B #23188F #3021C3 #5142DF

Accessibility & contrast

On white

13.13
#23188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#23188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23188F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23188F#FFFFFF#000000##FFFFFF
##23188F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002B8D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #23188f;
/* rgb */ color: rgb(35, 24, 143);
/* oklch */ color: oklch(33.0% 0.181 274.2);
Tailwind
colors: {
  custom: {
    50: '#7259b1',
    500: '#23188f',
    950: '#000000',
  },
}
SCSS
$custom: #23188f;
$custom-light: #7259b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23188f",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 245.546,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3298,
    "c": 0.18085,
    "h": 274.2
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#23188F
secondary
#B4C043
accent
#EE3ADD
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #23188F

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

Preview Lab → · Contrast checker → · Palette generator →

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