#1C23A9#1C23A9

#1C23A9 is a dark, highly saturated blue. Relative luminance 0.043; OKLCH L 37.0% C 0.205 H 268.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#1C23A9
RGBrgb(28, 35, 169)
HSLhsl(237, 72%, 39%)
HSVhsv(237, 83%, 66%)
CMYKcmyk(83.4%, 79.3%, 0%, 33.7%)
CIE-LABlab(24.68, 45.94, -70.58)
CIE-LCHlch(24.68, 84.22, 303.06°)
OKLaboklab(37.03% -0.0038 -0.2045)
OKLCHoklch(37.03% 0.205 268.9)
XYZxyz(8.2389, 4.3125, 37.9266)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1C23A9 #A9A21C
analogous
#1C69A9 #1C23A9 #5B1CA9
triadic
#1C23A9 #A91C23 #23A91C
tetradic
#1C23A9 #A91C69 #A9A21C #1CA95B
square
#1C23A9 #A91C69 #A9A21C #1CA95B
split-complementary
#1C23A9 #A95B1C #69A91C
monochromatic
#0B0D40 #131874 #1C23A9 #2730DB #5B62E4

Accessibility & contrast

On white

11.27
#1C23A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1C23A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1C23A9
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1C23A9#FFFFFF#000000##FFFFFF
##1C23A91.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AD
Deuteranopia (green-blind)
#0033A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1c23a9;
/* rgb */ color: rgb(28, 35, 169);
/* oklch */ color: oklch(37.0% 0.205 268.9);
Tailwind
colors: {
  custom: {
    50: '#7560c4',
    500: '#1c23a9',
    950: '#000000',
  },
}
SCSS
$custom: #1c23a9;
$custom-light: #7560c4;
$custom-dark: #000000;
JSON
{
  "hex": "#1c23a9",
  "rgb": {
    "r": 28,
    "g": 35,
    "b": 169
  },
  "hsl": {
    "h": 237.021,
    "s": 71.574,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37029,
    "c": 0.20453,
    "h": 268.9
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#1C23A9
secondary
#C8C259
accent
#E539EE
background
#F7F5FC
surface
#EEEAF8
border
#C9C6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #1C23A9

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

Preview Lab → · Contrast checker → · Palette generator →

#1C23A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva