#1B3EA8#1B3EA8

#1B3EA8 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.3% C 0.175 H 265.1°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#1B3EA8
RGBrgb(27, 62, 168)
HSLhsl(225, 72%, 38%)
HSVhsv(225, 84%, 66%)
CMYKcmyk(83.9%, 63.1%, 0%, 34.1%)
CIE-LABlab(30.65, 28.82, -60.14)
CIE-LCHlch(30.65, 66.69, 295.61°)
OKLaboklab(41.31% -0.0148 -0.1741)
OKLCHoklch(41.31% 0.175 265.1)
XYZxyz(9.2400, 6.5043, 37.8067)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3EA8 #A8851B
analogous
#1B85A8 #1B3EA8 #3E1BA8
triadic
#1B3EA8 #A81B3E #3EA81B
tetradic
#1B3EA8 #A81B85 #A8851B #1BA83E
square
#1B3EA8 #A81B85 #A8851B #1BA83E
split-complementary
#1B3EA8 #A83E1B #85A81B
monochromatic
#0A173F #132B73 #1B3EA8 #2452DC #597CE4

Accessibility & contrast

On white

9.13
#1B3EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#1B3EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3EA8
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3EA8#FFFFFF#000000##FFFFFF
##1B3EA81.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAB
Deuteranopia (green-blind)
#0042A6
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b3ea8;
/* rgb */ color: rgb(27, 62, 168);
/* oklch */ color: oklch(41.3% 0.175 265.1);
Tailwind
colors: {
  custom: {
    50: '#7272c3',
    500: '#1b3ea8',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ea8;
$custom-light: #7272c3;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ea8",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 168
  },
  "hsl": {
    "h": 225.106,
    "s": 72.308,
    "l": 38.235
  },
  "oklch": {
    "l": 0.41306,
    "c": 0.17474,
    "h": 265.1
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#1B3EA8
secondary
#C8AC57
accent
#C239EF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090813
muted
#7B7B82

Preview Lab

Preview with #1B3EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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