#1B3E9A#1B3E9A

#1B3E9A is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.156 H 264.5°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#1B3E9A
RGBrgb(27, 62, 154)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(82.5%, 59.7%, 0%, 39.6%)
CIE-LABlab(29.44, 23.31, -53.66)
CIE-LCHlch(29.44, 58.50, 293.49°)
OKLaboklab(40.03% -0.0151 -0.1551)
OKLCHoklch(40.03% 0.156 264.5)
XYZxyz(8.0053, 6.0104, 31.3038)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E9A #9A771B
analogous
#1B7D9A #1B3E9A #381B9A
triadic
#1B3E9A #9A1B3E #3E9A1B
tetradic
#1B3E9A #9A1B7D #9A771B #1B9A38
square
#1B3E9A #9A1B7D #9A771B #1B9A38
split-complementary
#1B3E9A #9A381B #7D9A1B
monochromatic
#091432 #122966 #1B3E9A #2453CE #4F77E0

Accessibility & contrast

On white

9.54
#1B3E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#1B3E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E9A
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E9A#FFFFFF#000000##FFFFFF
##1B3E9A1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005566
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1b3e9a;
/* rgb */ color: rgb(27, 62, 154);
/* oklch */ color: oklch(40.0% 0.156 264.5);
Tailwind
colors: {
  custom: {
    50: '#6e72b9',
    500: '#1b3e9a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e9a;
$custom-light: #6e72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e9a",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 223.465,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40027,
    "c": 0.15584,
    "h": 264.5
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#1B3E9A
secondary
#C3A34E
accent
#BC3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #1B3E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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