#1B3EA7#1B3EA7

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

Color values

HEX#1B3EA7
RGBrgb(27, 62, 167)
HSLhsl(225, 72%, 38%)
HSVhsv(225, 84%, 65%)
CMYKcmyk(83.8%, 62.9%, 0%, 34.5%)
CIE-LABlab(30.56, 28.43, -59.68)
CIE-LCHlch(30.56, 66.11, 295.47°)
OKLaboklab(41.21% -0.0148 -0.1728)
OKLCHoklch(41.21% 0.173 265.1)
XYZxyz(9.1472, 6.4672, 37.3179)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3EA7 #A7841B
analogous
#1B84A7 #1B3EA7 #3E1BA7
triadic
#1B3EA7 #A71B3E #3EA71B
tetradic
#1B3EA7 #A71B84 #A7841B #1BA73E
square
#1B3EA7 #A71B84 #A7841B #1BA73E
split-complementary
#1B3EA7 #A73E1B #84A71B
monochromatic
#0A173E #122A72 #1B3EA7 #2452DC #587BE4

Accessibility & contrast

On white

9.16
#1B3EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#1B3EA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3EA7
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3EA7#FFFFFF#000000##FFFFFF
##1B3EA71.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #1b3ea7;
/* rgb */ color: rgb(27, 62, 167);
/* oklch */ color: oklch(41.2% 0.173 265.1);
Tailwind
colors: {
  custom: {
    50: '#7272c2',
    500: '#1b3ea7',
    950: '#000000',
  },
}
SCSS
$custom: #1b3ea7;
$custom-light: #7272c2;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3ea7",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 167
  },
  "hsl": {
    "h": 225,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41213,
    "c": 0.17341,
    "h": 265.1
  },
  "luminance": 0.06468
}

Semantic roles & 50–950 ramp

primary
#1B3EA7
secondary
#C8AB56
accent
#C139EF
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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