#1B367E#1B367E

#1B367E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.127 H 265.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#1B367E
RGBrgb(27, 54, 126)
HSLhsl(224, 65%, 30%)
HSVhsv(224, 79%, 49%)
CMYKcmyk(78.6%, 57.1%, 0%, 50.6%)
CIE-LABlab(24.88, 17.60, -43.75)
CIE-LCHlch(24.88, 47.16, 291.92°)
OKLaboklab(35.88% -0.011 -0.1261)
OKLCHoklch(35.88% 0.127 265)
XYZxyz(5.5357, 4.3771, 20.2877)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367E #7E631B
analogous
#1B687E #1B367E #311B7E
triadic
#1B367E #7E1B36 #367E1B
tetradic
#1B367E #7E1B68 #7E631B #1B7E31
square
#1B367E #7E1B68 #7E631B #1B7E31
split-complementary
#1B367E #7E311B #687E1B
monochromatic
#050B19 #10204C #1B367E #264CB0 #3E67D6

Accessibility & contrast

On white

11.20
#1B367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1B367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B367E
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367E#FFFFFF#000000##FFFFFF
##1B367E1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004854
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b367e;
/* rgb */ color: rgb(27, 54, 126);
/* oklch */ color: oklch(35.9% 0.127 265.0);
Tailwind
colors: {
  custom: {
    50: '#686ca4',
    500: '#1b367e',
    950: '#000000',
  },
}
SCSS
$custom: #1b367e;
$custom-light: #686ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367e",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 223.636,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.3588,
    "c": 0.12662,
    "h": 265
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#1B367E
secondary
#B29443
accent
#BA40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B367E

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

Preview Lab → · Contrast checker → · Palette generator →

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