#1B22B4#1B22B4

#1B22B4 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.218 H 268.3°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#1B22B4
RGBrgb(27, 34, 180)
HSLhsl(237, 74%, 41%)
HSVhsv(237, 85%, 71%)
CMYKcmyk(85%, 81.1%, 0%, 29.4%)
CIE-LABlab(25.78, 49.99, -75.37)
CIE-LCHlch(25.78, 90.44, 303.56°)
OKLaboklab(38.17% -0.0065 -0.2183)
OKLCHoklch(38.17% 0.218 268.3)
XYZxyz(9.2594, 4.6712, 43.5848)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B22B4 #B4AD1B
analogous
#1B6EB4 #1B22B4 #601BB4
triadic
#1B22B4 #B41B22 #22B41B
tetradic
#1B22B4 #B41B6E #B4AD1B #1BB460
square
#1B22B4 #B41B6E #B4AD1B #1BB460
split-complementary
#1B22B4 #B4601B #6EB41B
monochromatic
#0B0E4A #13187F #1B22B4 #2D35DF #6268E7

Accessibility & contrast

On white

10.86
#1B22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1B22B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B22B4
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B22B4#FFFFFF#000000##FFFFFF
##1B22B41.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#0035B2
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1b22b4;
/* rgb */ color: rgb(27, 34, 180);
/* oklch */ color: oklch(38.2% 0.218 268.3);
Tailwind
colors: {
  custom: {
    50: '#7861cc',
    500: '#1b22b4',
    950: '#000000',
  },
}
SCSS
$custom: #1b22b4;
$custom-light: #7861cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b22b4",
  "rgb": {
    "r": 27,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 237.255,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.21842,
    "h": 268.3
  },
  "luminance": 0.04672
}

Semantic roles & 50–950 ramp

primary
#1B22B4
secondary
#CCC75F
accent
#E837F1
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982

Preview Lab

Preview with #1B22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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