#1B3A82#1B3A82

#1B3A82 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.127 H 263.8°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#1B3A82
RGBrgb(27, 58, 130)
HSLhsl(222, 66%, 31%)
HSVhsv(222, 79%, 51%)
CMYKcmyk(79.2%, 55.4%, 0%, 49%)
CIE-LABlab(26.36, 16.42, -43.86)
CIE-LCHlch(26.36, 46.83, 290.52°)
OKLaboklab(37.1% -0.0138 -0.1264)
OKLCHoklch(37.1% 0.127 263.8)
XYZxyz(5.9929, 4.8701, 21.7390)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A82 #82631B
analogous
#1B6D82 #1B3A82 #2F1B82
triadic
#1B3A82 #821B3A #3A821B
tetradic
#1B3A82 #821B6D #82631B #1B822F
square
#1B3A82 #821B6D #82631B #1B822F
split-complementary
#1B3A82 #822F1B #6D821B
monochromatic
#060D1D #10234F #1B3A82 #2651B5 #406ED7

Accessibility & contrast

On white

10.64
#1B3A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#1B3A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A82
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A82#FFFFFF#000000##FFFFFF
##1B3A821.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024385
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1b3a82;
/* rgb */ color: rgb(27, 58, 130);
/* oklch */ color: oklch(37.1% 0.127 263.8);
Tailwind
colors: {
  custom: {
    50: '#686fa7',
    500: '#1b3a82',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a82;
$custom-light: #686fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a82",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 130
  },
  "hsl": {
    "h": 221.942,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.12713,
    "h": 263.8
  },
  "luminance": 0.04871
}

Semantic roles & 50–950 ramp

primary
#1B3A82
secondary
#B69343
accent
#B63FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1B3A82

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

Preview Lab → · Contrast checker → · Palette generator →

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