#23138A#23138A

#23138A is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.8% C 0.179 H 275.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#23138A
RGBrgb(35, 19, 138)
HSLhsl(248, 76%, 31%)
HSVhsv(248, 86%, 54%)
CMYKcmyk(74.6%, 86.2%, 0%, 45.9%)
CIE-LABlab(18.62, 44.33, -61.57)
CIE-LCHlch(18.62, 75.86, 305.75°)
OKLaboklab(31.84% 0.0163 -0.178)
OKLCHoklch(31.84% 0.179 275.2)
XYZxyz(5.5119, 2.6575, 24.2623)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23138A #7A8A13
analogous
#133E8A #23138A #5E138A
triadic
#23138A #8A2313 #138A23
tetradic
#23138A #8A133E #7A8A13 #138A5E
square
#23138A #8A133E #7A8A13 #138A5E
split-complementary
#23138A #8A5E13 #3E8A13
monochromatic
#08041E #150C54 #23138A #311AC0 #4C34E3

Accessibility & contrast

On white

13.71
#23138A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#23138A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23138A
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23138A#FFFFFF#000000##FFFFFF
##23138A1.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00328D
Deuteranopia (green-blind)
#002888
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #23138a;
/* rgb */ color: rgb(35, 19, 138);
/* oklch */ color: oklch(31.8% 0.179 275.2);
Tailwind
colors: {
  custom: {
    50: '#7156ad',
    500: '#23138a',
    950: '#000000',
  },
}
SCSS
$custom: #23138a;
$custom-light: #7156ad;
$custom-dark: #000000;
JSON
{
  "hex": "#23138a",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 138
  },
  "hsl": {
    "h": 248.067,
    "s": 75.796,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31836,
    "c": 0.1787,
    "h": 275.2
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#23138A
secondary
#ADBE3A
accent
#F235D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #23138A

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

Preview Lab → · Contrast checker → · Palette generator →

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