#1B367C#1B367C

#1B367C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.7% C 0.124 H 264.8°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#1B367C
RGBrgb(27, 54, 124)
HSLhsl(223, 64%, 30%)
HSVhsv(223, 78%, 49%)
CMYKcmyk(78.2%, 56.5%, 0%, 51.4%)
CIE-LABlab(24.72, 16.79, -42.75)
CIE-LCHlch(24.72, 45.92, 291.44°)
OKLaboklab(35.71% -0.0111 -0.1232)
OKLCHoklch(35.71% 0.124 264.8)
XYZxyz(5.4080, 4.3260, 19.6149)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B367C #7C611B
analogous
#1B677C #1B367C #311B7C
triadic
#1B367C #7C1B36 #367C1B
tetradic
#1B367C #7C1B67 #7C611B #1B7C31
square
#1B367C #7C1B67 #7C611B #1B7C31
split-complementary
#1B367C #7C311B #677C1B
monochromatic
#050B19 #10204A #1B367C #264CAE #3D67D5

Accessibility & contrast

On white

11.26
#1B367C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B367C
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B367C#FFFFFF#000000##FFFFFF
##1B367C1.0011.261.8711.26
#FFFFFF11.261.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7E
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004753
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1b367c;
/* rgb */ color: rgb(27, 54, 124);
/* oklch */ color: oklch(35.7% 0.124 264.8);
Tailwind
colors: {
  custom: {
    50: '#676ca2',
    500: '#1b367c',
    950: '#000000',
  },
}
SCSS
$custom: #1b367c;
$custom-light: #676ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b367c",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 223.299,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.12369,
    "h": 264.8
  },
  "luminance": 0.04327
}

Semantic roles & 50–950 ramp

primary
#1B367C
secondary
#B09243
accent
#B941E7
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B367C

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

Preview Lab → · Contrast checker → · Palette generator →

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