#1B3167#1B3167

#1B3167 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.8% C 0.099 H 264.8°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1B3167
RGBrgb(27, 49, 103)
HSLhsl(223, 58%, 25%)
HSVhsv(223, 74%, 40%)
CMYKcmyk(73.8%, 52.4%, 0%, 59.6%)
CIE-LABlab(21.61, 11.77, -34.33)
CIE-LCHlch(21.61, 36.29, 288.92°)
OKLaboklab(32.84% -0.009 -0.0985)
OKLCHoklch(32.84% 0.099 264.8)
XYZxyz(3.9976, 3.4085, 13.2766)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3167 #67511B
analogous
#1B5767 #1B3167 #2B1B67
triadic
#1B3167 #671B31 #31671B
tetradic
#1B3167 #671B57 #67511B #1B672B
square
#1B3167 #671B57 #67511B #1B672B
split-complementary
#1B3167 #672B1B #57671B
monochromatic
#060C18 #0E1A37 #1B3167 #284897 #345FC8

Accessibility & contrast

On white

12.49
#1B3167 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1B3167 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3167
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3167#FFFFFF#000000##FFFFFF
##1B31671.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123769
Deuteranopia (green-blind)
#003166
Tritanopia (blue-blind)
#003E47
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3167;
/* rgb */ color: rgb(27, 49, 103);
/* oklch */ color: oklch(32.8% 0.099 264.8);
Tailwind
colors: {
  custom: {
    50: '#626893',
    500: '#1b3167',
    950: '#000000',
  },
}
SCSS
$custom: #1b3167;
$custom-light: #626893;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3167",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 103
  },
  "hsl": {
    "h": 222.632,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32836,
    "c": 0.09893,
    "h": 264.8
  },
  "luminance": 0.03409
}

Semantic roles & 50–950 ramp

primary
#1B3167
secondary
#9C8242
accent
#B546E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #1B3167

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

Preview Lab → · Contrast checker → · Palette generator →

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