#1B3F99#1B3F99

#1B3F99 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.1% C 0.153 H 264.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#1B3F99
RGBrgb(27, 63, 153)
HSLhsl(223, 70%, 35%)
HSVhsv(223, 82%, 60%)
CMYKcmyk(82.4%, 58.8%, 0%, 40%)
CIE-LABlab(29.63, 22.23, -52.74)
CIE-LCHlch(29.63, 57.23, 292.86°)
OKLaboklab(40.15% -0.0158 -0.1524)
OKLCHoklch(40.15% 0.153 264.1)
XYZxyz(7.9772, 6.0870, 30.8853)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F99 #99751B
analogous
#1B7E99 #1B3F99 #361B99
triadic
#1B3F99 #991B3F #3F991B
tetradic
#1B3F99 #991B7E #99751B #1B9936
square
#1B3F99 #991B7E #99751B #1B9936
split-complementary
#1B3F99 #99361B #7E991B
monochromatic
#091431 #122A65 #1B3F99 #2454CD #4F78E0

Accessibility & contrast

On white

9.47
#1B3F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B3F99
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F99#FFFFFF#000000##FFFFFF
##1B3F991.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1b3f99;
/* rgb */ color: rgb(27, 63, 153);
/* oklch */ color: oklch(40.1% 0.153 264.1);
Tailwind
colors: {
  custom: {
    50: '#6e73b8',
    500: '#1b3f99',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f99;
$custom-light: #6e73b8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f99",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 153
  },
  "hsl": {
    "h": 222.857,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.1532,
    "h": 264.1
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1B3F99

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

Preview Lab → · Contrast checker → · Palette generator →

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