#23148B#23148B

#23148B is a dark, vivid blue. Relative luminance 0.027; OKLCH L 32.1% C 0.179 H 275.0°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#23148B
RGBrgb(35, 20, 139)
HSLhsl(248, 75%, 31%)
HSVhsv(248, 86%, 55%)
CMYKcmyk(74.8%, 85.6%, 0%, 45.5%)
CIE-LABlab(18.89, 44.19, -61.74)
CIE-LCHlch(18.89, 75.92, 305.59°)
OKLaboklab(32.06% 0.0157 -0.1785)
OKLCHoklch(32.06% 0.179 275)
XYZxyz(5.6020, 2.7212, 24.6511)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23148B #7C8B14
analogous
#14408B #23148B #5E148B
triadic
#23148B #8B2314 #148B23
tetradic
#23148B #8B1440 #7C8B14 #148B5E
square
#23148B #8B1440 #7C8B14 #148B5E
split-complementary
#23148B #8B5E14 #408B14
monochromatic
#080520 #160C55 #23148B #301CC1 #4D37E2

Accessibility & contrast

On white

13.60
#23148B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#23148B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23148B
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23148B#FFFFFF#000000##FFFFFF
##23148B1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00338E
Deuteranopia (green-blind)
#002889
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #23148b;
/* rgb */ color: rgb(35, 20, 139);
/* oklch */ color: oklch(32.1% 0.179 275.0);
Tailwind
colors: {
  custom: {
    50: '#7157ae',
    500: '#23148b',
    950: '#000000',
  },
}
SCSS
$custom: #23148b;
$custom-light: #7157ae;
$custom-dark: #000000;
JSON
{
  "hex": "#23148b",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 139
  },
  "hsl": {
    "h": 247.563,
    "s": 74.843,
    "l": 31.176
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.17916,
    "h": 275
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#23148B
secondary
#AFBF3C
accent
#F136DA
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090310
muted
#7B787F

Preview Lab

Preview with #23148B

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

Preview Lab → · Contrast checker → · Palette generator →

#23148B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva