#1B336A#1B336A

#1B336A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.101 H 264.0°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#1B336A
RGBrgb(27, 51, 106)
HSLhsl(222, 59%, 26%)
HSVhsv(222, 75%, 42%)
CMYKcmyk(74.5%, 51.9%, 0%, 58.4%)
CIE-LABlab(22.45, 11.56, -34.93)
CIE-LCHlch(22.45, 36.79, 288.31°)
OKLaboklab(33.54% -0.0105 -0.1002)
OKLCHoklch(33.54% 0.101 264)
XYZxyz(4.2364, 3.6408, 14.1124)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B336A #6A521B
analogous
#1B5A6A #1B336A #2A1B6A
triadic
#1B336A #6A1B33 #336A1B
tetradic
#1B336A #6A1B5A #6A521B #1B6A2A
square
#1B336A #6A1B5A #6A521B #1B6A2A
split-complementary
#1B336A #6A2A1B #5A6A1B
monochromatic
#060C18 #0F1C39 #1B336A #274A9B #3462CB

Accessibility & contrast

On white

12.15
#1B336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1B336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B336A
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B336A#FFFFFF#000000##FFFFFF
##1B336A1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14396C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#004049
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b336a;
/* rgb */ color: rgb(27, 51, 106);
/* oklch */ color: oklch(33.5% 0.101 264.0);
Tailwind
colors: {
  custom: {
    50: '#636a95',
    500: '#1b336a',
    950: '#000000',
  },
}
SCSS
$custom: #1b336a;
$custom-light: #636a95;
$custom-dark: #000000;
JSON
{
  "hex": "#1b336a",
  "rgb": {
    "r": 27,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 221.772,
    "s": 59.398,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.10079,
    "h": 264
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#1B336A
secondary
#9F8342
accent
#B345E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B336A

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

Preview Lab → · Contrast checker → · Palette generator →

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