#23187A#23187A

#23187A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.155 H 277.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#23187A
RGBrgb(35, 24, 122)
HSLhsl(247, 67%, 29%)
HSVhsv(247, 80%, 48%)
CMYKcmyk(71.3%, 80.3%, 0%, 52.2%)
CIE-LABlab(17.53, 36.77, -53.23)
CIE-LCHlch(17.53, 64.70, 304.64°)
OKLaboklab(30.52% 0.0189 -0.1538)
OKLCHoklch(30.52% 0.155 277)
XYZxyz(4.5315, 2.4153, 18.6360)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23187A #6F7A18
analogous
#183E7A #23187A #54187A
triadic
#23187A #7A2318 #187A23
tetradic
#23187A #7A183E #6F7A18 #187A54
square
#23187A #7A183E #6F7A18 #187A54
split-complementary
#23187A #7A5418 #3E7A18
monochromatic
#07051A #140E47 #23187A #3222AD #4735D7

Accessibility & contrast

On white

14.16
#23187A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#23187A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23187A
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23187A#FFFFFF#000000##FFFFFF
##23187A1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7D
Deuteranopia (green-blind)
#002778
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #23187a;
/* rgb */ color: rgb(35, 24, 122);
/* oklch */ color: oklch(30.5% 0.155 277.0);
Tailwind
colors: {
  custom: {
    50: '#6c57a2',
    500: '#23187a',
    950: '#000000',
  },
}
SCSS
$custom: #23187a;
$custom-light: #6c57a2;
$custom-dark: #000000;
JSON
{
  "hex": "#23187a",
  "rgb": {
    "r": 35,
    "g": 24,
    "b": 122
  },
  "hsl": {
    "h": 246.735,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30523,
    "c": 0.15499,
    "h": 277
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#23187A
secondary
#A2AF3F
accent
#EA3ED7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23187A

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

Preview Lab → · Contrast checker → · Palette generator →

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