#23148F#23148F

#23148F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.5% C 0.184 H 274.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#23148F
RGBrgb(35, 20, 143)
HSLhsl(247, 75%, 32%)
HSVhsv(247, 86%, 56%)
CMYKcmyk(75.5%, 86%, 0%, 43.9%)
CIE-LABlab(19.39, 45.42, -63.41)
CIE-LCHlch(19.39, 77.99, 305.61°)
OKLaboklab(32.55% 0.0145 -0.1833)
OKLCHoklch(32.55% 0.184 274.5)
XYZxyz(5.8996, 2.8402, 26.2186)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23148F #808F14
analogous
#14438F #23148F #61148F
triadic
#23148F #8F2314 #148F23
tetradic
#23148F #8F1443 #808F14 #148F61
square
#23148F #8F1443 #808F14 #148F61
split-complementary
#23148F #8F6114 #438F14
monochromatic
#090524 #160C59 #23148F #301CC5 #4F3AE3

Accessibility & contrast

On white

13.39
#23148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#23148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23148F
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23148F#FFFFFF#000000##FFFFFF
##23148F1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #23148f;
/* rgb */ color: rgb(35, 20, 143);
/* oklch */ color: oklch(32.5% 0.184 274.5);
Tailwind
colors: {
  custom: {
    50: '#7257b1',
    500: '#23148f',
    950: '#000000',
  },
}
SCSS
$custom: #23148f;
$custom-light: #7257b1;
$custom-dark: #000000;
JSON
{
  "hex": "#23148f",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 247.317,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32549,
    "c": 0.18387,
    "h": 274.5
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#23148F
secondary
#B2C33C
accent
#F236DB
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #23148F

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

Preview Lab → · Contrast checker → · Palette generator →

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