#1B367F#1B367F

#1B367F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.128 H 265.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#1B367F
RGBrgb(27, 54, 127)
HSLhsl(224, 65%, 30%)
HSVhsv(224, 79%, 50%)
CMYKcmyk(78.7%, 57.5%, 0%, 50.2%)
CIE-LABlab(24.96, 18.01, -44.25)
CIE-LCHlch(24.96, 47.77, 292.15°)
OKLaboklab(35.97% -0.0109 -0.1276)
OKLCHoklch(35.97% 0.128 265.1)
XYZxyz(5.6006, 4.4030, 20.6293)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367F #7F641B
analogous
#1B687F #1B367F #321B7F
triadic
#1B367F #7F1B36 #367F1B
tetradic
#1B367F #7F1B68 #7F641B #1B7F32
square
#1B367F #7F1B68 #7F641B #1B7F32
split-complementary
#1B367F #7F321B #687F1B
monochromatic
#060B1A #10214D #1B367F #264BB1 #3E67D6

Accessibility & contrast

On white

11.17
#1B367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B367F
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367F#FFFFFF#000000##FFFFFF
##1B367F1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b367f;
/* rgb */ color: rgb(27, 54, 127);
/* oklch */ color: oklch(36.0% 0.128 265.1);
Tailwind
colors: {
  custom: {
    50: '#686ca5',
    500: '#1b367f',
    950: '#000000',
  },
}
SCSS
$custom: #1b367f;
$custom-light: #686ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367f",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 223.8,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.35966,
    "c": 0.12807,
    "h": 265.1
  },
  "luminance": 0.04404
}

Semantic roles & 50–950 ramp

primary
#1B367F
secondary
#B39543
accent
#BB40E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B367F

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

Preview Lab → · Contrast checker → · Palette generator →

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