#23186D#23186D

#23186D is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.138 H 279.3°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#23186D
RGBrgb(35, 24, 109)
HSLhsl(248, 64%, 26%)
HSVhsv(248, 78%, 43%)
CMYKcmyk(67.9%, 78%, 0%, 57.3%)
CIE-LABlab(16.08, 32.40, -47.24)
CIE-LCHlch(16.08, 57.28, 304.44°)
OKLaboklab(29.07% 0.0223 -0.1364)
OKLCHoklch(29.07% 0.138 279.3)
XYZxyz(3.7792, 2.1144, 14.6740)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23186D #626D18
analogous
#18376D #23186D #4D186D
triadic
#23186D #6D2318 #186D23
tetradic
#23186D #6D1837 #626D18 #186D4D
square
#23186D #6D1837 #626D18 #186D4D
split-complementary
#23186D #6D4D18 #376D18
monochromatic
#080619 #130D3B #23186D #33239F #432ED1

Accessibility & contrast

On white

14.76
#23186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#23186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23186D
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23186D#FFFFFF#000000##FFFFFF
##23186D1.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00256B
Tritanopia (blue-blind)
#003041
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #23186d;
/* rgb */ color: rgb(35, 24, 109);
/* oklch */ color: oklch(29.1% 0.138 279.3);
Tailwind
colors: {
  custom: {
    50: '#695798',
    500: '#23186d',
    950: '#000000',
  },
}
SCSS
$custom: #23186d;
$custom-light: #695798;
$custom-dark: #000000;
JSON
{
  "hex": "#23186d",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 247.765,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.13816,
    "h": 279.3
  },
  "luminance": 0.02115
}

Semantic roles & 50–950 ramp

primary
#23186D
secondary
#96A33E
accent
#E741D1
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23186D

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

Preview Lab → · Contrast checker → · Palette generator →

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