#1B367B#1B367B

#1B367B is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.6% C 0.122 H 264.7°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#1B367B
RGBrgb(27, 54, 123)
HSLhsl(223, 64%, 29%)
HSVhsv(223, 78%, 48%)
CMYKcmyk(78%, 56.1%, 0%, 51.8%)
CIE-LABlab(24.64, 16.38, -42.24)
CIE-LCHlch(24.64, 45.31, 291.19°)
OKLaboklab(35.62% -0.0112 -0.1217)
OKLCHoklch(35.62% 0.122 264.7)
XYZxyz(5.3450, 4.3008, 19.2835)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367B #7B601B
analogous
#1B667B #1B367B #301B7B
triadic
#1B367B #7B1B36 #367B1B
tetradic
#1B367B #7B1B66 #7B601B #1B7B30
square
#1B367B #7B1B66 #7B601B #1B7B30
split-complementary
#1B367B #7B301B #667B1B
monochromatic
#060B19 #102049 #1B367B #264CAD #3C67D4

Accessibility & contrast

On white

11.29
#1B367B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B367B
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367B#FFFFFF#000000##FFFFFF
##1B367B1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1b367b;
/* rgb */ color: rgb(27, 54, 123);
/* oklch */ color: oklch(35.6% 0.122 264.7);
Tailwind
colors: {
  custom: {
    50: '#676ca2',
    500: '#1b367b',
    950: '#000000',
  },
}
SCSS
$custom: #1b367b;
$custom-light: #676ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367b",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 123
  },
  "hsl": {
    "h": 223.125,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.12223,
    "h": 264.7
  },
  "luminance": 0.04301
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B367B

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

Preview Lab → · Contrast checker → · Palette generator →

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