#1B24A0#1B24A0

#1B24A0 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 36.1% C 0.193 H 268.9°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#1B24A0
RGBrgb(27, 36, 160)
HSLhsl(236, 71%, 37%)
HSVhsv(236, 83%, 63%)
CMYKcmyk(83.1%, 77.5%, 0%, 37.3%)
CIE-LABlab(23.78, 42.30, -66.62)
CIE-LCHlch(23.78, 78.92, 302.41°)
OKLaboklab(36.08% -0.0035 -0.193)
OKLCHoklch(36.08% 0.193 268.9)
XYZxyz(7.4259, 4.0319, 33.6378)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B24A0 #A0971B
analogous
#1B67A0 #1B24A0 #551BA0
triadic
#1B24A0 #A01B24 #24A01B
tetradic
#1B24A0 #A01B67 #A0971B #1BA055
square
#1B24A0 #A01B67 #A0971B #1BA055
split-complementary
#1B24A0 #A0551B #67A01B
monochromatic
#090C37 #12186C #1B24A0 #2430D4 #535DE2

Accessibility & contrast

On white

11.62
#1B24A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#1B24A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B24A0
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B24A0#FFFFFF#000000##FFFFFF
##1B24A01.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b24a0;
/* rgb */ color: rgb(27, 36, 160);
/* oklch */ color: oklch(36.1% 0.193 268.9);
Tailwind
colors: {
  custom: {
    50: '#7260bd',
    500: '#1b24a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b24a0;
$custom-light: #7260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b24a0",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 160
  },
  "hsl": {
    "h": 235.94,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36075,
    "c": 0.19306,
    "h": 268.9
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#1B24A0
secondary
#C5BD52
accent
#E23AEE
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B24A0

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

Preview Lab → · Contrast checker → · Palette generator →

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