#23146F#23146F

#23146F is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.7% C 0.145 H 279.6°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#23146F
RGBrgb(35, 20, 111)
HSLhsl(250, 69%, 26%)
HSVhsv(250, 82%, 44%)
CMYKcmyk(68.5%, 82%, 0%, 56.5%)
CIE-LABlab(15.51, 35.31, -49.47)
CIE-LCHlch(15.51, 60.78, 305.52°)
OKLaboklab(28.74% 0.0243 -0.1428)
OKLCHoklch(28.74% 0.145 279.6)
XYZxyz(3.8116, 2.0050, 15.2220)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23146F #606F14
analogous
#14326F #23146F #50146F
triadic
#23146F #6F2314 #146F23
tetradic
#23146F #6F1432 #606F14 #146F50
square
#23146F #6F1432 #606F14 #146F50
split-complementary
#23146F #6F5014 #326F14
monochromatic
#08051A #130B3B #23146F #331DA3 #4427D7

Accessibility & contrast

On white

14.99
#23146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#23146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23146F
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23146F#FFFFFF#000000##FFFFFF
##23146F1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #23146f;
/* rgb */ color: rgb(35, 20, 111);
/* oklch */ color: oklch(28.7% 0.145 279.6);
Tailwind
colors: {
  custom: {
    50: '#6a5499',
    500: '#23146f',
    950: '#000000',
  },
}
SCSS
$custom: #23146f;
$custom-light: #6a5499;
$custom-dark: #000000;
JSON
{
  "hex": "#23146f",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 249.89,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.28738,
    "c": 0.14487,
    "h": 279.6
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#23146F
secondary
#94A639
accent
#EC3CCF
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23146F

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

Preview Lab → · Contrast checker → · Palette generator →

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