#1B4FA0#1B4FA0

#1B4FA0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.143 H 259.4°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#1B4FA0
RGBrgb(27, 79, 160)
HSLhsl(217, 71%, 37%)
HSVhsv(217, 83%, 63%)
CMYKcmyk(83.1%, 50.6%, 0%, 37.3%)
CIE-LABlab(34.73, 14.13, -48.71)
CIE-LCHlch(34.73, 50.71, 286.18°)
OKLaboklab(44.18% -0.0263 -0.1402)
OKLCHoklch(44.18% 0.143 259.4)
XYZxyz(9.5908, 8.3619, 34.3594)
Luminance0.0836 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4FA0 #A06C1B
analogous
#1B92A0 #1B4FA0 #291BA0
triadic
#1B4FA0 #A01B4F #4FA01B
tetradic
#1B4FA0 #A01B92 #A06C1B #1BA029
square
#1B4FA0 #A01B92 #A06C1B #1BA029
split-complementary
#1B4FA0 #A0291B #92A01B
monochromatic
#091B37 #12356C #1B4FA0 #2469D4 #538BE2

Accessibility & contrast

On white

7.86
#1B4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#1B4FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4FA0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4FA0#FFFFFF#000000##FFFFFF
##1B4FA01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#006370
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #1b4fa0;
/* rgb */ color: rgb(27, 79, 160);
/* oklch */ color: oklch(44.2% 0.143 259.4);
Tailwind
colors: {
  custom: {
    50: '#6f7fbd',
    500: '#1b4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b4fa0;
$custom-light: #6f7fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4fa0",
  "rgb": {
    "r": 27,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 216.541,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.14267,
    "h": 259.4
  },
  "luminance": 0.08363
}

Semantic roles & 50–950 ramp

primary
#1B4FA0
secondary
#C59852
accent
#A83AEE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #1B4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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