#1B367A#1B367A

#1B367A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.5% C 0.121 H 264.6°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#1B367A
RGBrgb(27, 54, 122)
HSLhsl(223, 64%, 29%)
HSVhsv(223, 78%, 48%)
CMYKcmyk(77.9%, 55.7%, 0%, 52.2%)
CIE-LABlab(24.56, 15.97, -41.74)
CIE-LCHlch(24.56, 44.69, 290.94°)
OKLaboklab(35.54% -0.0113 -0.1202)
OKLCHoklch(35.54% 0.121 264.6)
XYZxyz(5.2828, 4.2759, 18.9555)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367A #7A5F1B
analogous
#1B667A #1B367A #301B7A
triadic
#1B367A #7A1B36 #367A1B
tetradic
#1B367A #7A1B66 #7A5F1B #1B7A30
square
#1B367A #7A1B66 #7A5F1B #1B7A30
split-complementary
#1B367A #7A301B #667A1B
monochromatic
#060B19 #102048 #1B367A #264CAC #3C67D4

Accessibility & contrast

On white

11.32
#1B367A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1B367A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B367A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367A#FFFFFF#000000##FFFFFF
##1B367A1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023F7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b367a;
/* rgb */ color: rgb(27, 54, 122);
/* oklch */ color: oklch(35.5% 0.121 264.6);
Tailwind
colors: {
  custom: {
    50: '#676ca1',
    500: '#1b367a',
    950: '#000000',
  },
}
SCSS
$custom: #1b367a;
$custom-light: #676ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367a",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 222.947,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35539,
    "c": 0.12076,
    "h": 264.6
  },
  "luminance": 0.04276
}

Semantic roles & 50–950 ramp

primary
#1B367A
secondary
#AE9043
accent
#B841E7
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B367A

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

Preview Lab → · Contrast checker → · Palette generator →

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