#1B427F#1B427F

#1B427F is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.7% C 0.112 H 259.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1B427F
RGBrgb(27, 66, 127)
HSLhsl(217, 65%, 30%)
HSVhsv(217, 79%, 50%)
CMYKcmyk(78.7%, 48%, 0%, 50.2%)
CIE-LABlab(28.54, 9.61, -38.46)
CIE-LCHlch(28.54, 39.65, 284.03°)
OKLaboklab(38.69% -0.0211 -0.1103)
OKLCHoklch(38.69% 0.112 259.2)
XYZxyz(6.2296, 5.6610, 20.8389)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B427F #7F581B
analogous
#1B747F #1B427F #261B7F
triadic
#1B427F #7F1B42 #427F1B
tetradic
#1B427F #7F1B74 #7F581B #1B7F26
square
#1B427F #7F1B74 #7F581B #1B7F26
split-complementary
#1B427F #7F261B #747F1B
monochromatic
#060E1A #10284D #1B427F #265CB1 #3E7AD6

Accessibility & contrast

On white

9.85
#1B427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B427F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B427F#FFFFFF#000000##FFFFFF
##1B427F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214881
Deuteranopia (green-blind)
#083F7E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b427f;
/* rgb */ color: rgb(27, 66, 127);
/* oklch */ color: oklch(38.7% 0.112 259.2);
Tailwind
colors: {
  custom: {
    50: '#6775a4',
    500: '#1b427f',
    950: '#000000',
  },
}
SCSS
$custom: #1b427f;
$custom-light: #6775a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b427f",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 216.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.38694,
    "c": 0.11234,
    "h": 259.2
  },
  "luminance": 0.05662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B427F

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

Preview Lab → · Contrast checker → · Palette generator →

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