#1B459C#1B459C

#1B459C is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.150 H 262.5°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#1B459C
RGBrgb(27, 69, 156)
HSLhsl(220, 70%, 36%)
HSVhsv(220, 83%, 61%)
CMYKcmyk(82.7%, 55.8%, 0%, 38.8%)
CIE-LABlab(31.55, 19.32, -51.43)
CIE-LCHlch(31.55, 54.94, 290.59°)
OKLaboklab(41.67% -0.0196 -0.1484)
OKLCHoklch(41.67% 0.15 262.5)
XYZxyz(8.5787, 6.8885, 32.3235)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B459C #9C721B
analogous
#1B859C #1B459C #311B9C
triadic
#1B459C #9C1B45 #459C1B
tetradic
#1B459C #9C1B85 #9C721B #1B9C31
square
#1B459C #9C1B85 #9C721B #1B9C31
split-complementary
#1B459C #9C311B #859C1B
monochromatic
#091734 #122E68 #1B459C #245CD0 #5180E1

Accessibility & contrast

On white

8.83
#1B459C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#1B459C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B459C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B459C#FFFFFF#000000##FFFFFF
##1B459C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#00459A
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1b459c;
/* rgb */ color: rgb(27, 69, 156);
/* oklch */ color: oklch(41.7% 0.150 262.5);
Tailwind
colors: {
  custom: {
    50: '#6e78ba',
    500: '#1b459c',
    950: '#000000',
  },
}
SCSS
$custom: #1b459c;
$custom-light: #6e78ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b459c",
  "rgb": {
    "r": 27,
    "g": 69,
    "b": 156
  },
  "hsl": {
    "h": 220.465,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4167,
    "c": 0.14974,
    "h": 262.5
  },
  "luminance": 0.0689
}

Semantic roles & 50–950 ramp

primary
#1B459C
secondary
#C39E4F
accent
#B33BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B459C

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

Preview Lab → · Contrast checker → · Palette generator →

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