#1B409C#1B409C

#1B409C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.156 H 264.0°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#1B409C
RGBrgb(27, 64, 156)
HSLhsl(223, 70%, 36%)
HSVhsv(223, 83%, 61%)
CMYKcmyk(82.7%, 59%, 0%, 38.8%)
CIE-LABlab(30.15, 22.74, -53.71)
CIE-LCHlch(30.15, 58.32, 292.95°)
OKLaboklab(40.62% -0.0162 -0.1552)
OKLCHoklch(40.62% 0.156 264)
XYZxyz(8.2840, 6.2991, 32.2253)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B409C #9C771B
analogous
#1B809C #1B409C #371B9C
triadic
#1B409C #9C1B40 #409C1B
tetradic
#1B409C #9C1B80 #9C771B #1B9C37
square
#1B409C #9C1B80 #9C771B #1B9C37
split-complementary
#1B409C #9C371B #809C1B
monochromatic
#091534 #122B68 #1B409C #2455D0 #517AE1

Accessibility & contrast

On white

9.29
#1B409C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#1B409C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B409C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B409C#FFFFFF#000000##FFFFFF
##1B409C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#005767
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b409c;
/* rgb */ color: rgb(27, 64, 156);
/* oklch */ color: oklch(40.6% 0.156 264.0);
Tailwind
colors: {
  custom: {
    50: '#6f74ba',
    500: '#1b409c',
    950: '#000000',
  },
}
SCSS
$custom: #1b409c;
$custom-light: #6f74ba;
$custom-dark: #000000;
JSON
{
  "hex": "#1b409c",
  "rgb": {
    "r": 27,
    "g": 64,
    "b": 156
  },
  "hsl": {
    "h": 222.791,
    "s": 70.492,
    "l": 35.882
  },
  "oklch": {
    "l": 0.40617,
    "c": 0.15607,
    "h": 264
  },
  "luminance": 0.063
}

Semantic roles & 50–950 ramp

primary
#1B409C
secondary
#C3A24F
accent
#BA3BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B409C

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

Preview Lab → · Contrast checker → · Palette generator →

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