#1B417A#1B417A

#1B417A is a dark, moderate blue. Relative luminance 0.054; OKLCH L 38.1% C 0.106 H 258.6°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#1B417A
RGBrgb(27, 65, 122)
HSLhsl(216, 64%, 29%)
HSVhsv(216, 78%, 48%)
CMYKcmyk(77.9%, 46.7%, 0%, 52.2%)
CIE-LABlab(27.89, 8.26, -36.37)
CIE-LCHlch(27.89, 37.29, 282.79°)
OKLaboklab(38.09% -0.0211 -0.1042)
OKLCHoklch(38.09% 0.106 258.6)
XYZxyz(5.8539, 5.4181, 19.1459)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B417A #7A541B
analogous
#1B717A #1B417A #251B7A
triadic
#1B417A #7A1B41 #417A1B
tetradic
#1B417A #7A1B71 #7A541B #1B7A25
square
#1B417A #7A1B71 #7A541B #1B7A25
split-complementary
#1B417A #7A251B #717A1B
monochromatic
#060D19 #102648 #1B417A #265CAC #3C78D4

Accessibility & contrast

On white

10.08
#1B417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B417A
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B417A#FFFFFF#000000##FFFFFF
##1B417A1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#103E79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b417a;
/* rgb */ color: rgb(27, 65, 122);
/* oklch */ color: oklch(38.1% 0.106 258.6);
Tailwind
colors: {
  custom: {
    50: '#6675a1',
    500: '#1b417a',
    950: '#000000',
  },
}
SCSS
$custom: #1b417a;
$custom-light: #6675a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b417a",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 216,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38087,
    "c": 0.10632,
    "h": 258.6
  },
  "luminance": 0.05419
}

Semantic roles & 50–950 ramp

primary
#1B417A
secondary
#AE8343
accent
#A441E7
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #1B417A

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

Preview Lab → · Contrast checker → · Palette generator →

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