#1B427C#1B427C

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

Color values

HEX#1B427C
RGBrgb(27, 66, 124)
HSLhsl(216, 64%, 30%)
HSVhsv(216, 78%, 49%)
CMYKcmyk(78.2%, 46.8%, 0%, 51.4%)
CIE-LABlab(28.34, 8.38, -36.91)
CIE-LCHlch(28.34, 37.85, 282.80°)
OKLaboklab(38.47% -0.0216 -0.1058)
OKLCHoklch(38.47% 0.108 258.4)
XYZxyz(6.0370, 5.5840, 19.8245)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B427C #7C551B
analogous
#1B737C #1B427C #241B7C
triadic
#1B427C #7C1B42 #427C1B
tetradic
#1B427C #7C1B73 #7C551B #1B7C24
square
#1B427C #7C1B73 #7C551B #1B7C24
split-complementary
#1B427C #7C241B #737C1B
monochromatic
#050D19 #10274A #1B427C #265DAE #3D7AD5

Accessibility & contrast

On white

9.92
#1B427C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B427C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B427C#FFFFFF#000000##FFFFFF
##1B427C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24487E
Deuteranopia (green-blind)
#0F3F7B
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b427c;
/* rgb */ color: rgb(27, 66, 124);
/* oklch */ color: oklch(38.5% 0.108 258.4);
Tailwind
colors: {
  custom: {
    50: '#6675a2',
    500: '#1b427c',
    950: '#000000',
  },
}
SCSS
$custom: #1b427c;
$custom-light: #6675a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b427c",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 124
  },
  "hsl": {
    "h": 215.876,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.38473,
    "c": 0.10798,
    "h": 258.4
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

primary
#1B427C
secondary
#B08443
accent
#A441E7
background
#F6F7FA
surface
#EBEDF3
border
#C6C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B427C

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

Preview Lab → · Contrast checker → · Palette generator →

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