#1B366F#1B366F

#1B366F is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.6% C 0.104 H 263.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#1B366F
RGBrgb(27, 54, 111)
HSLhsl(221, 61%, 27%)
HSVhsv(221, 76%, 44%)
CMYKcmyk(75.7%, 51.4%, 0%, 56.5%)
CIE-LABlab(23.73, 11.47, -36.07)
CIE-LCHlch(23.73, 37.85, 287.64°)
OKLaboklab(34.64% -0.0127 -0.1036)
OKLCHoklch(34.64% 0.104 263)
XYZxyz(4.6394, 4.0185, 15.5670)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B366F #6F541B
analogous
#1B606F #1B366F #2A1B6F
triadic
#1B366F #6F1B36 #366F1B
tetradic
#1B366F #6F1B60 #6F541B #1B6F2A
square
#1B366F #6F1B60 #6F541B #1B6F2A
split-complementary
#1B366F #6F2A1B #606F1B
monochromatic
#060C19 #0F1E3E #1B366F #274EA0 #3667CE

Accessibility & contrast

On white

11.64
#1B366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1B366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B366F
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B366F#FFFFFF#000000##FFFFFF
##1B366F1.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163D71
Deuteranopia (green-blind)
#00356E
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1b366f;
/* rgb */ color: rgb(27, 54, 111);
/* oklch */ color: oklch(34.6% 0.104 263.0);
Tailwind
colors: {
  custom: {
    50: '#646c99',
    500: '#1b366f',
    950: '#000000',
  },
}
SCSS
$custom: #1b366f;
$custom-light: #646c99;
$custom-dark: #000000;
JSON
{
  "hex": "#1b366f",
  "rgb": {
    "r": 27,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 220.714,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34643,
    "c": 0.10433,
    "h": 263
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#1B366F
secondary
#A48442
accent
#B144E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B366F

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

Preview Lab → · Contrast checker → · Palette generator →

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