#1B22A0#1B22A0

#1B22A0 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.8% C 0.195 H 269.1°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#1B22A0
RGBrgb(27, 34, 160)
HSLhsl(237, 71%, 37%)
HSVhsv(237, 83%, 63%)
CMYKcmyk(83.1%, 78.8%, 0%, 37.3%)
CIE-LABlab(23.39, 43.42, -67.27)
CIE-LCHlch(23.39, 80.06, 302.84°)
OKLaboklab(35.8% -0.003 -0.1949)
OKLCHoklch(35.8% 0.195 269.1)
XYZxyz(7.3670, 3.9143, 33.6181)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B22A0 #A0991B
analogous
#1B65A0 #1B22A0 #571BA0
triadic
#1B22A0 #A01B22 #22A01B
tetradic
#1B22A0 #A01B65 #A0991B #1BA057
square
#1B22A0 #A01B65 #A0991B #1BA057
split-complementary
#1B22A0 #A0571B #65A01B
monochromatic
#090C37 #12176C #1B22A0 #242DD4 #535BE2

Accessibility & contrast

On white

11.78
#1B22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#1B22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B22A0
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B22A0#FFFFFF#000000##FFFFFF
##1B22A01.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1b22a0;
/* rgb */ color: rgb(27, 34, 160);
/* oklch */ color: oklch(35.8% 0.195 269.1);
Tailwind
colors: {
  custom: {
    50: '#735fbd',
    500: '#1b22a0',
    950: '#000000',
  },
}
SCSS
$custom: #1b22a0;
$custom-light: #735fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b22a0",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 236.842,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.358,
    "c": 0.19491,
    "h": 269.1
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#1B22A0
secondary
#C5BF52
accent
#E43AEE
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1B22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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