#1B3A8E#1B3A8E

#1B3A8E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.1% C 0.144 H 264.8°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#1B3A8E
RGBrgb(27, 58, 142)
HSLhsl(224, 68%, 33%)
HSVhsv(224, 81%, 56%)
CMYKcmyk(81%, 59.2%, 0%, 44.3%)
CIE-LABlab(27.33, 21.27, -49.74)
CIE-LCHlch(27.33, 54.10, 293.15°)
OKLaboklab(38.13% -0.013 -0.1437)
OKLCHoklch(38.13% 0.144 264.8)
XYZxyz(6.8458, 5.2113, 26.2310)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A8E #8E6F1B
analogous
#1B738E #1B3A8E #351B8E
triadic
#1B3A8E #8E1B3A #3A8E1B
tetradic
#1B3A8E #8E1B73 #8E6F1B #1B8E35
square
#1B3A8E #8E1B73 #8E6F1B #1B8E35
split-complementary
#1B3A8E #8E351B #738E1B
monochromatic
#071027 #11255B #1B3A8E #254FC1 #476FDC

Accessibility & contrast

On white

10.28
#1B3A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1B3A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A8E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A8E#FFFFFF#000000##FFFFFF
##1B3A8E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #1b3a8e;
/* rgb */ color: rgb(27, 58, 142);
/* oklch */ color: oklch(38.1% 0.144 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b6fb0',
    500: '#1b3a8e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a8e;
$custom-light: #6b6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a8e",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 223.826,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.38132,
    "c": 0.14426,
    "h": 264.8
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#1B3A8E
secondary
#BE9E47
accent
#BC3DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1B3A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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