#1B427E#1B427E

#1B427E is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.6% C 0.111 H 259.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#1B427E
RGBrgb(27, 66, 126)
HSLhsl(216, 65%, 30%)
HSVhsv(216, 79%, 49%)
CMYKcmyk(78.6%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.47, 9.20, -37.95)
CIE-LCHlch(28.47, 39.05, 283.63°)
OKLaboklab(38.62% -0.0213 -0.1088)
OKLCHoklch(38.62% 0.111 259)
XYZxyz(6.1647, 5.6351, 20.4974)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B427E #7E571B
analogous
#1B737E #1B427E #261B7E
triadic
#1B427E #7E1B42 #427E1B
tetradic
#1B427E #7E1B73 #7E571B #1B7E26
square
#1B427E #7E1B73 #7E571B #1B7E26
split-complementary
#1B427E #7E261B #737E1B
monochromatic
#050D19 #10284C #1B427E #265CB0 #3E7AD6

Accessibility & contrast

On white

9.87
#1B427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B427E
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B427E#FFFFFF#000000##FFFFFF
##1B427E1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224880
Deuteranopia (green-blind)
#0B3F7D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b427e;
/* rgb */ color: rgb(27, 66, 126);
/* oklch */ color: oklch(38.6% 0.111 259.0);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1b427e',
    950: '#000000',
  },
}
SCSS
$custom: #1b427e;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b427e",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 216.364,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3862,
    "c": 0.1109,
    "h": 259
  },
  "luminance": 0.05636
}

Semantic roles & 50–950 ramp

primary
#1B427E
secondary
#B28643
accent
#A640E8
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B427E

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

Preview Lab → · Contrast checker → · Palette generator →

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