#1B419F#1B419F

#1B419F is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.159 H 264.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#1B419F
RGBrgb(27, 65, 159)
HSLhsl(223, 71%, 36%)
HSVhsv(223, 83%, 62%)
CMYKcmyk(83%, 59.1%, 0%, 37.6%)
CIE-LABlab(30.68, 23.25, -54.67)
CIE-LCHlch(30.68, 59.41, 293.04°)
OKLaboklab(41.09% -0.0167 -0.158)
OKLCHoklch(41.09% 0.159 264)
XYZxyz(8.5981, 6.5158, 33.5987)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B419F #9F791B
analogous
#1B839F #1B419F #371B9F
triadic
#1B419F #9F1B41 #419F1B
tetradic
#1B419F #9F1B83 #9F791B #1B9F37
square
#1B419F #9F1B83 #9F791B #1B9F37
split-complementary
#1B419F #9F371B #839F1B
monochromatic
#091636 #122C6B #1B419F #2456D3 #537CE2

Accessibility & contrast

On white

9.12
#1B419F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B419F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B419F
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B419F#FFFFFF#000000##FFFFFF
##1B419F1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b419f;
/* rgb */ color: rgb(27, 65, 159);
/* oklch */ color: oklch(41.1% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f75bc',
    500: '#1b419f',
    950: '#000000',
  },
}
SCSS
$custom: #1b419f;
$custom-light: #6f75bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b419f",
  "rgb": {
    "r": 27,
    "g": 65,
    "b": 159
  },
  "hsl": {
    "h": 222.727,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41087,
    "c": 0.15892,
    "h": 264
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#1B419F
secondary
#C5A351
accent
#BA3AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B419F

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

Preview Lab → · Contrast checker → · Palette generator →

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