#1B23A0#1B23A0

#1B23A0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.194 H 269.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#1B23A0
RGBrgb(27, 35, 160)
HSLhsl(236, 71%, 37%)
HSVhsv(236, 83%, 63%)
CMYKcmyk(83.1%, 78.1%, 0%, 37.3%)
CIE-LABlab(23.58, 42.86, -66.95)
CIE-LCHlch(23.58, 79.49, 302.63°)
OKLaboklab(35.94% -0.0033 -0.194)
OKLCHoklch(35.94% 0.194 269)
XYZxyz(7.3960, 3.9723, 33.6278)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B23A0 #A0981B
analogous
#1B66A0 #1B23A0 #561BA0
triadic
#1B23A0 #A01B23 #23A01B
tetradic
#1B23A0 #A01B66 #A0981B #1BA056
square
#1B23A0 #A01B66 #A0981B #1BA056
split-complementary
#1B23A0 #A0561B #66A01B
monochromatic
#090C37 #12186C #1B23A0 #242ED4 #535CE2

Accessibility & contrast

On white

11.70
#1B23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B23A0
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B23A0#FFFFFF#000000##FFFFFF
##1B23A01.0011.701.7911.70
#FFFFFF11.701.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b23a0;
/* rgb */ color: rgb(27, 35, 160);
/* oklch */ color: oklch(35.9% 0.194 269.0);
Tailwind
colors: {
  custom: {
    50: '#7360bd',
    500: '#1b23a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b23a0;
$custom-light: #7360bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b23a0",
  "rgb": {
    "r": 27,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 236.391,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35936,
    "c": 0.194,
    "h": 269
  },
  "luminance": 0.03973
}

Semantic roles & 50–950 ramp

primary
#1B23A0
secondary
#C5BE52
accent
#E33AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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