#1B3EA0#1B3EA0

#1B3EA0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.164 H 264.8°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#1B3EA0
RGBrgb(27, 62, 160)
HSLhsl(224, 71%, 37%)
HSVhsv(224, 83%, 63%)
CMYKcmyk(83.1%, 61.2%, 0%, 37.3%)
CIE-LABlab(29.95, 25.69, -56.47)
CIE-LCHlch(29.95, 62.04, 294.47°)
OKLaboklab(40.57% -0.0149 -0.1633)
OKLCHoklch(40.57% 0.164 264.8)
XYZxyz(8.5175, 6.2153, 34.0016)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3EA0 #A07D1B
analogous
#1B81A0 #1B3EA0 #3B1BA0
triadic
#1B3EA0 #A01B3E #3EA01B
tetradic
#1B3EA0 #A01B81 #A07D1B #1BA03B
square
#1B3EA0 #A01B81 #A07D1B #1BA03B
split-complementary
#1B3EA0 #A03B1B #81A01B
monochromatic
#091537 #122A6C #1B3EA0 #2452D4 #5379E2

Accessibility & contrast

On white

9.36
#1B3EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B3EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3EA0
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3EA0#FFFFFF#000000##FFFFFF
##1B3EA01.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b3ea0;
/* rgb */ color: rgb(27, 62, 160);
/* oklch */ color: oklch(40.6% 0.164 264.8);
Tailwind
colors: {
  custom: {
    50: '#7072bd',
    500: '#1b3ea0',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ea0;
$custom-light: #7072bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ea0",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 160
  },
  "hsl": {
    "h": 224.211,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40568,
    "c": 0.16403,
    "h": 264.8
  },
  "luminance": 0.06216
}

Semantic roles & 50–950 ramp

primary
#1B3EA0
secondary
#C5A752
accent
#BF3AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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