#1B3EA1#1B3EA1

#1B3EA1 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.165 H 264.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3EA1
RGBrgb(27, 62, 161)
HSLhsl(224, 71%, 37%)
HSVhsv(224, 83%, 63%)
CMYKcmyk(83.2%, 61.5%, 0%, 36.9%)
CIE-LABlab(30.04, 26.09, -56.93)
CIE-LCHlch(30.04, 62.62, 294.62°)
OKLaboklab(40.66% -0.0149 -0.1647)
OKLCHoklch(40.66% 0.165 264.8)
XYZxyz(8.6054, 6.2504, 34.4642)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3EA1 #A17E1B
analogous
#1B81A1 #1B3EA1 #3B1BA1
triadic
#1B3EA1 #A11B3E #3EA11B
tetradic
#1B3EA1 #A11B81 #A17E1B #1BA13B
square
#1B3EA1 #A11B81 #A17E1B #1BA13B
split-complementary
#1B3EA1 #A13B1B #81A11B
monochromatic
#091638 #122A6D #1B3EA1 #2452D5 #5479E2

Accessibility & contrast

On white

9.33
#1B3EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B3EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3EA1
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3EA1#FFFFFF#000000##FFFFFF
##1B3EA11.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b3ea1;
/* rgb */ color: rgb(27, 62, 161);
/* oklch */ color: oklch(40.7% 0.165 264.8);
Tailwind
colors: {
  custom: {
    50: '#7072be',
    500: '#1b3ea1',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ea1;
$custom-light: #7072be;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ea1",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 161
  },
  "hsl": {
    "h": 224.328,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.16538,
    "h": 264.8
  },
  "luminance": 0.06251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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