#1B459F#1B459F

#1B459F is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.154 H 262.8°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#1B459F
RGBrgb(27, 69, 159)
HSLhsl(221, 71%, 36%)
HSVhsv(221, 83%, 62%)
CMYKcmyk(83%, 56.6%, 0%, 37.6%)
CIE-LABlab(31.79, 20.52, -52.86)
CIE-LCHlch(31.79, 56.71, 291.22°)
OKLaboklab(41.92% -0.0193 -0.1527)
OKLCHoklch(41.92% 0.154 262.8)
XYZxyz(8.8359, 6.9914, 33.6779)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B459F #9F751B
analogous
#1B879F #1B459F #331B9F
triadic
#1B459F #9F1B45 #459F1B
tetradic
#1B459F #9F1B87 #9F751B #1B9F33
square
#1B459F #9F1B87 #9F751B #1B9F33
split-complementary
#1B459F #9F331B #879F1B
monochromatic
#091836 #122E6B #1B459F #245CD3 #5380E2

Accessibility & contrast

On white

8.76
#1B459F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#1B459F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B459F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B459F#FFFFFF#000000##FFFFFF
##1B459F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #1b459f;
/* rgb */ color: rgb(27, 69, 159);
/* oklch */ color: oklch(41.9% 0.154 262.8);
Tailwind
colors: {
  custom: {
    50: '#6f78bc',
    500: '#1b459f',
    950: '#000000',
  },
}
SCSS
$custom: #1b459f;
$custom-light: #6f78bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b459f",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 159
  },
  "hsl": {
    "h": 220.909,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41922,
    "c": 0.15388,
    "h": 262.8
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#1B459F
secondary
#C5A051
accent
#B53AEE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B459F

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

Preview Lab → · Contrast checker → · Palette generator →

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