#1B3E9F#1B3E9F

#1B3E9F is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.163 H 264.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#1B3E9F
RGBrgb(27, 62, 159)
HSLhsl(224, 71%, 36%)
HSVhsv(224, 83%, 62%)
CMYKcmyk(83%, 61%, 0%, 37.6%)
CIE-LABlab(29.86, 25.30, -56.00)
CIE-LCHlch(29.86, 61.45, 294.31°)
OKLaboklab(40.48% -0.0149 -0.162)
OKLCHoklch(40.48% 0.163 264.7)
XYZxyz(8.4304, 6.1804, 33.5428)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E9F #9F7C1B
analogous
#1B809F #1B3E9F #3A1B9F
triadic
#1B3E9F #9F1B3E #3E9F1B
tetradic
#1B3E9F #9F1B80 #9F7C1B #1B9F3A
square
#1B3E9F #9F1B80 #9F7C1B #1B9F3A
split-complementary
#1B3E9F #9F3A1B #809F1B
monochromatic
#091536 #122A6B #1B3E9F #2452D3 #5379E2

Accessibility & contrast

On white

9.39
#1B3E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#1B3E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E9F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E9F#FFFFFF#000000##FFFFFF
##1B3E9F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3e9f;
/* rgb */ color: rgb(27, 62, 159);
/* oklch */ color: oklch(40.5% 0.163 264.7);
Tailwind
colors: {
  custom: {
    50: '#7072bc',
    500: '#1b3e9f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e9f;
$custom-light: #7072bc;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e9f",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 159
  },
  "hsl": {
    "h": 224.091,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40477,
    "c": 0.16267,
    "h": 264.7
  },
  "luminance": 0.06181
}

Semantic roles & 50–950 ramp

primary
#1B3E9F
secondary
#C5A651
accent
#BE3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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