#1B3F9A#1B3F9A

#1B3F9A is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.2% C 0.155 H 264.2°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#1B3F9A
RGBrgb(27, 63, 154)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(82.5%, 59.1%, 0%, 39.6%)
CIE-LABlab(29.71, 22.63, -53.21)
CIE-LCHlch(29.71, 57.82, 293.04°)
OKLaboklab(40.23% -0.0157 -0.1538)
OKLCHoklch(40.23% 0.155 264.2)
XYZxyz(8.0602, 6.1202, 31.3221)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F9A #9A761B
analogous
#1B7E9A #1B3F9A #361B9A
triadic
#1B3F9A #9A1B3F #3F9A1B
tetradic
#1B3F9A #9A1B7E #9A761B #1B9A36
square
#1B3F9A #9A1B7E #9A761B #1B9A36
split-complementary
#1B3F9A #9A361B #7E9A1B
monochromatic
#091432 #122A66 #1B3F9A #2454CE #4F78E0

Accessibility & contrast

On white

9.44
#1B3F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1B3F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F9A
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F9A#FFFFFF#000000##FFFFFF
##1B3F9A1.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#004098
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3f9a;
/* rgb */ color: rgb(27, 63, 154);
/* oklch */ color: oklch(40.2% 0.155 264.2);
Tailwind
colors: {
  custom: {
    50: '#6e73b9',
    500: '#1b3f9a',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f9a;
$custom-light: #6e73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f9a",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 154
  },
  "hsl": {
    "h": 222.992,
    "s": 70.166,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40234,
    "c": 0.15458,
    "h": 264.2
  },
  "luminance": 0.06121
}

Semantic roles & 50–950 ramp

primary
#1B3F9A
secondary
#C3A24E
accent
#BA3BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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