#1B3E95#1B3E95

#1B3E95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.6% C 0.149 H 264.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#1B3E95
RGBrgb(27, 62, 149)
HSLhsl(223, 69%, 35%)
HSVhsv(223, 82%, 58%)
CMYKcmyk(81.9%, 58.4%, 0%, 41.6%)
CIE-LABlab(29.02, 21.32, -51.28)
CIE-LCHlch(29.02, 55.54, 292.57°)
OKLaboklab(39.59% -0.0153 -0.1481)
OKLCHoklch(39.59% 0.149 264.1)
XYZxyz(7.5975, 5.8473, 29.1562)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E95 #95721B
analogous
#1B7B95 #1B3E95 #351B95
triadic
#1B3E95 #951B3E #3E951B
tetradic
#1B3E95 #951B7B #95721B #1B9535
square
#1B3E95 #951B7B #95721B #1B9535
split-complementary
#1B3E95 #95351B #7B951B
monochromatic
#08132D #122861 #1B3E95 #2454C9 #4C76DF

Accessibility & contrast

On white

9.68
#1B3E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#1B3E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E95
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E95#FFFFFF#000000##FFFFFF
##1B3E951.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A98
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3e95;
/* rgb */ color: rgb(27, 62, 149);
/* oklch */ color: oklch(39.6% 0.149 264.1);
Tailwind
colors: {
  custom: {
    50: '#6d72b5',
    500: '#1b3e95',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e95;
$custom-light: #6d72b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e95",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 149
  },
  "hsl": {
    "h": 222.787,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39587,
    "c": 0.14893,
    "h": 264.1
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#1B3E95
secondary
#C19F4B
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3E95

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

Preview Lab → · Contrast checker → · Palette generator →

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