#1B3185#1B3185

#1B3185 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.143 H 267.2°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#1B3185
RGBrgb(27, 49, 133)
HSLhsl(228, 66%, 31%)
HSVhsv(228, 80%, 52%)
CMYKcmyk(79.7%, 63.2%, 0%, 47.8%)
CIE-LABlab(24.07, 23.93, -49.46)
CIE-LCHlch(24.07, 54.94, 295.82°)
OKLaboklab(35.46% -0.0071 -0.143)
OKLCHoklch(35.46% 0.143 267.2)
XYZxyz(5.7825, 4.1224, 22.6767)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3185 #856F1B
analogous
#1B6685 #1B3185 #3A1B85
triadic
#1B3185 #851B31 #31851B
tetradic
#1B3185 #851B66 #856F1B #1B853A
square
#1B3185 #851B66 #856F1B #1B853A
split-complementary
#1B3185 #853A1B #66851B
monochromatic
#060C1F #111E52 #1B3185 #2544B8 #4261D9

Accessibility & contrast

On white

11.51
#1B3185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#1B3185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3185
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3185#FFFFFF#000000##FFFFFF
##1B31851.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004756
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1b3185;
/* rgb */ color: rgb(27, 49, 133);
/* oklch */ color: oklch(35.5% 0.143 267.2);
Tailwind
colors: {
  custom: {
    50: '#6a68a9',
    500: '#1b3185',
    950: '#000000',
  },
}
SCSS
$custom: #1b3185;
$custom-light: #6a68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3185",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 133
  },
  "hsl": {
    "h": 227.547,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3546,
    "c": 0.14317,
    "h": 267.2
  },
  "luminance": 0.04123
}

Semantic roles & 50–950 ramp

primary
#1B3185
secondary
#B8A044
accent
#C63FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B3185

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

Preview Lab → · Contrast checker → · Palette generator →

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