#1B3A85#1B3A85

#1B3A85 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.4% C 0.131 H 264.1°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#1B3A85
RGBrgb(27, 58, 133)
HSLhsl(222, 66%, 31%)
HSVhsv(222, 80%, 52%)
CMYKcmyk(79.7%, 56.4%, 0%, 47.8%)
CIE-LABlab(26.60, 17.63, -45.35)
CIE-LCHlch(26.60, 48.66, 291.25°)
OKLaboklab(37.35% -0.0136 -0.1308)
OKLCHoklch(37.35% 0.131 264.1)
XYZxyz(6.1972, 4.9519, 22.8149)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A85 #85661B
analogous
#1B6F85 #1B3A85 #311B85
triadic
#1B3A85 #851B3A #3A851B
tetradic
#1B3A85 #851B6F #85661B #1B8531
square
#1B3A85 #851B6F #85661B #1B8531
split-complementary
#1B3A85 #85311B #6F851B
monochromatic
#060E1F #112452 #1B3A85 #2550B8 #426ED9

Accessibility & contrast

On white

10.55
#1B3A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1B3A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A85
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A85#FFFFFF#000000##FFFFFF
##1B3A851.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004488
Deuteranopia (green-blind)
#003A84
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3a85;
/* rgb */ color: rgb(27, 58, 133);
/* oklch */ color: oklch(37.4% 0.131 264.1);
Tailwind
colors: {
  custom: {
    50: '#696fa9',
    500: '#1b3a85',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a85;
$custom-light: #696fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a85",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 222.453,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.37352,
    "c": 0.13147,
    "h": 264.1
  },
  "luminance": 0.04953
}

Semantic roles & 50–950 ramp

primary
#1B3A85
secondary
#B89644
accent
#B73FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1B3A85

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

Preview Lab → · Contrast checker → · Palette generator →

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