#23138D#23138D

#23138D is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.2% C 0.182 H 274.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#23138D
RGBrgb(35, 19, 141)
HSLhsl(248, 76%, 31%)
HSVhsv(248, 87%, 55%)
CMYKcmyk(75.2%, 86.5%, 0%, 44.7%)
CIE-LABlab(18.99, 45.24, -62.82)
CIE-LCHlch(18.99, 77.41, 305.76°)
OKLaboklab(32.2% 0.0154 -0.1816)
OKLCHoklch(32.2% 0.182 274.8)
XYZxyz(5.7321, 2.7456, 25.4220)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23138D #7D8D13
analogous
#13408D #23138D #60138D
triadic
#23138D #8D2313 #138D23
tetradic
#23138D #8D1340 #7D8D13 #138D60
square
#23138D #8D1340 #7D8D13 #138D60
split-complementary
#23138D #8D6013 #408D13
monochromatic
#080421 #160C57 #23138D #301AC3 #4D36E4

Accessibility & contrast

On white

13.56
#23138D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#23138D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23138D
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23138D#FFFFFF#000000##FFFFFF
##23138D1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003390
Deuteranopia (green-blind)
#00298B
Tritanopia (blue-blind)
#003B53
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23138d;
/* rgb */ color: rgb(35, 19, 141);
/* oklch */ color: oklch(32.2% 0.182 274.8);
Tailwind
colors: {
  custom: {
    50: '#7156b0',
    500: '#23138d',
    950: '#000000',
  },
}
SCSS
$custom: #23138d;
$custom-light: #7156b0;
$custom-dark: #000000;
JSON
{
  "hex": "#23138d",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 141
  },
  "hsl": {
    "h": 247.869,
    "s": 76.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.18223,
    "h": 274.8
  },
  "luminance": 0.02746
}

Semantic roles & 50–950 ramp

primary
#23138D
secondary
#AFC13B
accent
#F335DA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23138D

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

Preview Lab → · Contrast checker → · Palette generator →

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