#1823A1#1823A1

#1823A1 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.196 H 268.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#1823A1
RGBrgb(24, 35, 161)
HSLhsl(235, 74%, 36%)
HSVhsv(235, 85%, 63%)
CMYKcmyk(85.1%, 78.3%, 0%, 36.9%)
CIE-LABlab(23.57, 43.03, -67.58)
CIE-LCHlch(23.57, 80.12, 302.49°)
OKLaboklab(35.93% -0.0062 -0.1958)
OKLCHoklch(35.93% 0.196 268.2)
XYZxyz(7.4085, 3.9686, 34.0868)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1823A1 #A19618
analogous
#1868A1 #1823A1 #5218A1
triadic
#1823A1 #A11823 #23A118
tetradic
#1823A1 #A11868 #A19618 #18A152
square
#1823A1 #A11868 #A19618 #18A152
split-complementary
#1823A1 #A15218 #68A118
monochromatic
#080C36 #10176C #1823A1 #202FD6 #4F5BE5

Accessibility & contrast

On white

11.71
#1823A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1823A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1823A1
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1823A1#FFFFFF#000000##FFFFFF
##1823A11.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00319F
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1823a1;
/* rgb */ color: rgb(24, 35, 161);
/* oklch */ color: oklch(35.9% 0.196 268.2);
Tailwind
colors: {
  custom: {
    50: '#7260be',
    500: '#1823a1',
    950: '#000000',
  },
}
SCSS
$custom: #1823a1;
$custom-light: #7260be;
$custom-dark: #000000;
JSON
{
  "hex": "#1823a1",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 235.182,
    "s": 74.054,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35926,
    "c": 0.19595,
    "h": 268.2
  },
  "luminance": 0.03969
}

Semantic roles & 50–950 ramp

primary
#1823A1
secondary
#C7BD4E
accent
#E237F1
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1823A1

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

Preview Lab → · Contrast checker → · Palette generator →

#1823A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva