#1B3F9E#1B3F9E

#1B3F9E is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.160 H 264.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#1B3F9E
RGBrgb(27, 63, 158)
HSLhsl(224, 71%, 36%)
HSVhsv(224, 83%, 62%)
CMYKcmyk(82.9%, 60.1%, 0%, 38%)
CIE-LABlab(30.05, 24.22, -55.09)
CIE-LCHlch(30.05, 60.18, 293.73°)
OKLaboklab(40.59% -0.0155 -0.1593)
OKLCHoklch(40.59% 0.16 264.4)
XYZxyz(8.3989, 6.2556, 33.1059)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F9E #9E7A1B
analogous
#1B819E #1B3F9E #381B9E
triadic
#1B3F9E #9E1B3F #3F9E1B
tetradic
#1B3F9E #9E1B81 #9E7A1B #1B9E38
square
#1B3F9E #9E1B81 #9E7A1B #1B9E38
split-complementary
#1B3F9E #9E381B #819E1B
monochromatic
#091535 #122A6A #1B3F9E #2454D2 #5279E1

Accessibility & contrast

On white

9.33
#1B3F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#1B3F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F9E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F9E#FFFFFF#000000##FFFFFF
##1B3F9E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005768
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b3f9e;
/* rgb */ color: rgb(27, 63, 158);
/* oklch */ color: oklch(40.6% 0.160 264.4);
Tailwind
colors: {
  custom: {
    50: '#6f73bb',
    500: '#1b3f9e',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f9e;
$custom-light: #6f73bb;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f9e",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 158
  },
  "hsl": {
    "h": 223.511,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.40589,
    "c": 0.16007,
    "h": 264.4
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#1B3F9E
secondary
#C4A451
accent
#BC3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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