#1B3264#1B3264

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

Color values

HEX#1B3264
RGBrgb(27, 50, 100)
HSLhsl(221, 57%, 25%)
HSVhsv(221, 73%, 39%)
CMYKcmyk(73%, 50%, 0%, 60.8%)
CIE-LABlab(21.70, 9.82, -32.23)
CIE-LCHlch(21.70, 33.69, 286.95°)
OKLaboklab(32.84% -0.0104 -0.0923)
OKLCHoklch(32.84% 0.093 263.5)
XYZxyz(3.8920, 3.4339, 12.5118)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3264 #644D1B
analogous
#1B5664 #1B3264 #291B64
triadic
#1B3264 #641B32 #32641B
tetradic
#1B3264 #641B56 #644D1B #1B6429
square
#1B3264 #641B56 #644D1B #1B6429
split-complementary
#1B3264 #64291B #56641B
monochromatic
#070C18 #0E1A34 #1B3264 #284A94 #3562C4

Accessibility & contrast

On white

12.45
#1B3264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1B3264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3264
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3264#FFFFFF#000000##FFFFFF
##1B32641.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183866
Deuteranopia (green-blind)
#083163
Tritanopia (blue-blind)
#003E46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b3264;
/* rgb */ color: rgb(27, 50, 100);
/* oklch */ color: oklch(32.8% 0.093 263.5);
Tailwind
colors: {
  custom: {
    50: '#616990',
    500: '#1b3264',
    950: '#000000',
  },
}
SCSS
$custom: #1b3264;
$custom-light: #616990;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3264",
  "rgb": {
    "r": 27,
    "g": 50,
    "b": 100
  },
  "hsl": {
    "h": 221.096,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32837,
    "c": 0.09291,
    "h": 263.5
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#1B3264
secondary
#997E41
accent
#B047E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1B3264

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

Preview Lab → · Contrast checker → · Palette generator →

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