#1B3373#1B3373

#1B3373 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.114 H 265.3°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1B3373
RGBrgb(27, 51, 115)
HSLhsl(224, 62%, 28%)
HSVhsv(224, 77%, 45%)
CMYKcmyk(76.5%, 55.7%, 0%, 54.9%)
CIE-LABlab(23.13, 15.24, -39.61)
CIE-LCHlch(23.13, 42.44, 291.05°)
OKLaboklab(34.28% -0.0094 -0.114)
OKLCHoklch(34.28% 0.114 265.3)
XYZxyz(4.7292, 3.8380, 16.7079)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3373 #735B1B
analogous
#1B5F73 #1B3373 #2F1B73
triadic
#1B3373 #731B33 #33731B
tetradic
#1B3373 #731B5F #735B1B #1B732F
square
#1B3373 #731B5F #735B1B #1B732F
split-complementary
#1B3373 #732F1B #5F731B
monochromatic
#060B19 #0F1D41 #1B3373 #2749A5 #3862D0

Accessibility & contrast

On white

11.88
#1B3373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1B3373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3373
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3373#FFFFFF#000000##FFFFFF
##1B33731.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053B75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b3373;
/* rgb */ color: rgb(27, 51, 115);
/* oklch */ color: oklch(34.3% 0.114 265.3);
Tailwind
colors: {
  custom: {
    50: '#656a9c',
    500: '#1b3373',
    950: '#000000',
  },
}
SCSS
$custom: #1b3373;
$custom-light: #656a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3373",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 223.636,
    "s": 61.972,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34279,
    "c": 0.11442,
    "h": 265.3
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#1B3373
secondary
#A88C42
accent
#B943E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1B3373

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

Preview Lab → · Contrast checker → · Palette generator →

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