#1B3E9B#1B3E9B

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

Color values

HEX#1B3E9B
RGBrgb(27, 62, 155)
HSLhsl(224, 70%, 36%)
HSVhsv(224, 83%, 61%)
CMYKcmyk(82.6%, 60%, 0%, 39.2%)
CIE-LABlab(29.52, 23.71, -54.13)
CIE-LCHlch(29.52, 59.10, 293.66°)
OKLaboklab(40.12% -0.015 -0.1565)
OKLCHoklch(40.12% 0.157 264.5)
XYZxyz(8.0889, 6.0438, 31.7442)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E9B #9B781B
analogous
#1B7E9B #1B3E9B #381B9B
triadic
#1B3E9B #9B1B3E #3E9B1B
tetradic
#1B3E9B #9B1B7E #9B781B #1B9B38
square
#1B3E9B #9B1B7E #9B781B #1B9B38
split-complementary
#1B3E9B #9B381B #7E9B1B
monochromatic
#091433 #122967 #1B3E9B #2453CF #5077E0

Accessibility & contrast

On white

9.51
#1B3E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1B3E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E9B
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E9B#FFFFFF#000000##FFFFFF
##1B3E9B1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3e9b;
/* rgb */ color: rgb(27, 62, 155);
/* oklch */ color: oklch(40.1% 0.157 264.5);
Tailwind
colors: {
  custom: {
    50: '#6f72b9',
    500: '#1b3e9b',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e9b;
$custom-light: #6f72b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e9b",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 155
  },
  "hsl": {
    "h": 223.594,
    "s": 70.33,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40117,
    "c": 0.15722,
    "h": 264.5
  },
  "luminance": 0.06045
}

Semantic roles & 50–950 ramp

primary
#1B3E9B
secondary
#C3A34F
accent
#BC3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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