#1B366C#1B366C

#1B366C is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.4% C 0.100 H 262.4°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1B366C
RGBrgb(27, 54, 108)
HSLhsl(220, 60%, 26%)
HSVhsv(220, 75%, 42%)
CMYKcmyk(75%, 50%, 0%, 57.6%)
CIE-LABlab(23.52, 10.24, -34.49)
CIE-LCHlch(23.52, 35.98, 286.53°)
OKLaboklab(34.41% -0.0131 -0.0989)
OKLCHoklch(34.41% 0.1 262.4)
XYZxyz(4.4770, 3.9536, 14.7116)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B366C #6C511B
analogous
#1B5F6C #1B366C #291B6C
triadic
#1B366C #6C1B36 #366C1B
tetradic
#1B366C #6C1B5F #6C511B #1B6C29
square
#1B366C #6C1B5F #6C511B #1B6C29
split-complementary
#1B366C #6C291B #5F6C1B
monochromatic
#060C18 #0F1E3B #1B366C #274E9D #3567CC

Accessibility & contrast

On white

11.73
#1B366C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1B366C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B366C
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B366C#FFFFFF#000000##FFFFFF
##1B366C1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193C6E
Deuteranopia (green-blind)
#05356B
Tritanopia (blue-blind)
#00434B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b366c;
/* rgb */ color: rgb(27, 54, 108);
/* oklch */ color: oklch(34.4% 0.100 262.4);
Tailwind
colors: {
  custom: {
    50: '#636c96',
    500: '#1b366c',
    950: '#000000',
  },
}
SCSS
$custom: #1b366c;
$custom-light: #636c96;
$custom-dark: #000000;
JSON
{
  "hex": "#1b366c",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 220,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.34409,
    "c": 0.09978,
    "h": 262.4
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#1B366C
secondary
#A18142
accent
#AE45E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B366C

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

Preview Lab → · Contrast checker → · Palette generator →

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