#1B3A88#1B3A88

#1B3A88 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.136 H 264.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#1B3A88
RGBrgb(27, 58, 136)
HSLhsl(223, 67%, 32%)
HSVhsv(223, 80%, 53%)
CMYKcmyk(80.1%, 57.4%, 0%, 46.7%)
CIE-LABlab(26.84, 18.85, -46.83)
CIE-LCHlch(26.84, 50.48, 291.93°)
OKLaboklab(37.61% -0.0133 -0.1351)
OKLCHoklch(37.61% 0.136 264.4)
XYZxyz(6.4074, 5.0360, 23.9221)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A88 #88691B
analogous
#1B7188 #1B3A88 #331B88
triadic
#1B3A88 #881B3A #3A881B
tetradic
#1B3A88 #881B71 #88691B #1B8833
square
#1B3A88 #881B71 #88691B #1B8833
split-complementary
#1B3A88 #88331B #71881B
monochromatic
#070E22 #112455 #1B3A88 #2550BB #446EDA

Accessibility & contrast

On white

10.46
#1B3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1B3A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A88
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A88#FFFFFF#000000##FFFFFF
##1B3A881.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3a88;
/* rgb */ color: rgb(27, 58, 136);
/* oklch */ color: oklch(37.6% 0.136 264.4);
Tailwind
colors: {
  custom: {
    50: '#6a6fab',
    500: '#1b3a88',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a88;
$custom-light: #6a6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a88",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 222.936,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.37608,
    "c": 0.13576,
    "h": 264.4
  },
  "luminance": 0.05037
}

Semantic roles & 50–950 ramp

primary
#1B3A88
secondary
#BB9944
accent
#B93EEA
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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