#1B4294#1B4294

#1B4294 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.4% C 0.142 H 262.7°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#1B4294
RGBrgb(27, 66, 148)
HSLhsl(221, 69%, 34%)
HSVhsv(221, 82%, 58%)
CMYKcmyk(81.8%, 55.4%, 0%, 42%)
CIE-LABlab(30.08, 18.16, -48.96)
CIE-LCHlch(30.08, 52.22, 290.35°)
OKLaboklab(40.36% -0.0182 -0.1412)
OKLCHoklch(40.36% 0.142 262.7)
XYZxyz(7.7436, 6.2666, 28.8127)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B4294 #946D1B
analogous
#1B7F94 #1B4294 #301B94
triadic
#1B4294 #941B42 #42941B
tetradic
#1B4294 #941B7F #946D1B #1B9430
square
#1B4294 #941B7F #946D1B #1B9430
split-complementary
#1B4294 #94301B #7F941B
monochromatic
#08142C #122B60 #1B4294 #2459C8 #4B7BDE

Accessibility & contrast

On white

9.32
#1B4294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B4294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B4294
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B4294#FFFFFF#000000##FFFFFF
##1B42941.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#004292
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b4294;
/* rgb */ color: rgb(27, 66, 148);
/* oklch */ color: oklch(40.4% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#6d75b4',
    500: '#1b4294',
    950: '#000000',
  },
}
SCSS
$custom: #1b4294;
$custom-light: #6d75b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b4294",
  "rgb": {
    "r": 27,
    "g": 66,
    "b": 148
  },
  "hsl": {
    "h": 220.661,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.40355,
    "c": 0.14241,
    "h": 262.7
  },
  "luminance": 0.06268
}

Semantic roles & 50–950 ramp

primary
#1B4294
secondary
#C09A4B
accent
#B33CEC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B4294

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

Preview Lab → · Contrast checker → · Palette generator →

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