#1B3E8E#1B3E8E

#1B3E8E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.0% C 0.139 H 263.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#1B3E8E
RGBrgb(27, 62, 142)
HSLhsl(222, 68%, 33%)
HSVhsv(222, 81%, 56%)
CMYKcmyk(81%, 56.3%, 0%, 44.3%)
CIE-LABlab(28.46, 18.50, -47.90)
CIE-LCHlch(28.46, 51.35, 291.11°)
OKLaboklab(38.99% -0.0158 -0.1382)
OKLCHoklch(38.99% 0.139 263.5)
XYZxyz(7.0554, 5.6304, 26.3009)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E8E #8E6B1B
analogous
#1B778E #1B3E8E #311B8E
triadic
#1B3E8E #8E1B3E #3E8E1B
tetradic
#1B3E8E #8E1B77 #8E6B1B #1B8E31
square
#1B3E8E #8E1B77 #8E6B1B #1B8E31
split-complementary
#1B3E8E #8E311B #778E1B
monochromatic
#071127 #11285B #1B3E8E #2554C1 #4775DC

Accessibility & contrast

On white

9.88
#1B3E8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B3E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E8E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E8E#FFFFFF#000000##FFFFFF
##1B3E8E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3e8e;
/* rgb */ color: rgb(27, 62, 142);
/* oklch */ color: oklch(39.0% 0.139 263.5);
Tailwind
colors: {
  custom: {
    50: '#6b72b0',
    500: '#1b3e8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e8e;
$custom-light: #6b72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e8e",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 142
  },
  "hsl": {
    "h": 221.739,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.1391,
    "h": 263.5
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#1B3E8E
secondary
#BE9A47
accent
#B63DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #1B3E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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