#1B427D#1B427D

#1B427D is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.109 H 258.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#1B427D
RGBrgb(27, 66, 125)
HSLhsl(216, 64%, 30%)
HSVhsv(216, 78%, 49%)
CMYKcmyk(78.4%, 47.2%, 0%, 51%)
CIE-LABlab(28.40, 8.79, -37.43)
CIE-LCHlch(28.40, 38.45, 283.22°)
OKLaboklab(38.55% -0.0214 -0.1073)
OKLCHoklch(38.55% 0.109 258.7)
XYZxyz(6.1005, 5.6094, 20.1593)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B427D #7D561B
analogous
#1B737D #1B427D #251B7D
triadic
#1B427D #7D1B42 #427D1B
tetradic
#1B427D #7D1B73 #7D561B #1B7D25
square
#1B427D #7D1B73 #7D561B #1B7D25
split-complementary
#1B427D #7D251B #737D1B
monochromatic
#050D19 #10274B #1B427D #265DAF #3D7AD5

Accessibility & contrast

On white

9.90
#1B427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1B427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B427D
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B427D#FFFFFF#000000##FFFFFF
##1B427D1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23487F
Deuteranopia (green-blind)
#0D3F7C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b427d;
/* rgb */ color: rgb(27, 66, 125);
/* oklch */ color: oklch(38.5% 0.109 258.7);
Tailwind
colors: {
  custom: {
    50: '#6775a3',
    500: '#1b427d',
    950: '#000000',
  },
}
SCSS
$custom: #1b427d;
$custom-light: #6775a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b427d",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 216.122,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.38546,
    "c": 0.10944,
    "h": 258.7
  },
  "luminance": 0.0561
}

Semantic roles & 50–950 ramp

primary
#1B427D
secondary
#B18543
accent
#A540E7
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B427D

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

Preview Lab → · Contrast checker → · Palette generator →

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