#1B367D#1B367D

#1B367D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.125 H 264.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#1B367D
RGBrgb(27, 54, 125)
HSLhsl(223, 64%, 30%)
HSVhsv(223, 78%, 49%)
CMYKcmyk(78.4%, 56.8%, 0%, 51%)
CIE-LABlab(24.80, 17.20, -43.25)
CIE-LCHlch(24.80, 46.54, 291.68°)
OKLaboklab(35.79% -0.0111 -0.1247)
OKLCHoklch(35.79% 0.125 264.9)
XYZxyz(5.4715, 4.3514, 19.9496)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367D #7D621B
analogous
#1B677D #1B367D #311B7D
triadic
#1B367D #7D1B36 #367D1B
tetradic
#1B367D #7D1B67 #7D621B #1B7D31
square
#1B367D #7D1B67 #7D621B #1B7D31
split-complementary
#1B367D #7D311B #677D1B
monochromatic
#050B19 #10204B #1B367D #264CAF #3D67D5

Accessibility & contrast

On white

11.23
#1B367D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1B367D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B367D
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367D#FFFFFF#000000##FFFFFF
##1B367D1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b367d;
/* rgb */ color: rgb(27, 54, 125);
/* oklch */ color: oklch(35.8% 0.125 264.9);
Tailwind
colors: {
  custom: {
    50: '#676ca3',
    500: '#1b367d',
    950: '#000000',
  },
}
SCSS
$custom: #1b367d;
$custom-light: #676ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367d",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 223.469,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.35794,
    "c": 0.12516,
    "h": 264.9
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#1B367D
secondary
#B19343
accent
#B940E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B367D

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

Preview Lab → · Contrast checker → · Palette generator →

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