#1B3E8F#1B3E8F

#1B3E8F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.141 H 263.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#1B3E8F
RGBrgb(27, 62, 143)
HSLhsl(222, 68%, 33%)
HSVhsv(222, 81%, 56%)
CMYKcmyk(81.1%, 56.6%, 0%, 43.9%)
CIE-LABlab(28.54, 18.90, -48.39)
CIE-LCHlch(28.54, 51.95, 291.33°)
OKLaboklab(39.07% -0.0157 -0.1396)
OKLCHoklch(39.07% 0.141 263.6)
XYZxyz(7.1308, 5.6606, 26.6981)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3E8F #8F6C1B
analogous
#1B788F #1B3E8F #321B8F
triadic
#1B3E8F #8F1B3E #3E8F1B
tetradic
#1B3E8F #8F1B78 #8F6C1B #1B8F32
square
#1B3E8F #8F1B78 #8F6C1B #1B8F32
split-complementary
#1B3E8F #8F321B #788F1B
monochromatic
#081128 #11285C #1B3E8F #2554C2 #4875DC

Accessibility & contrast

On white

9.85
#1B3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1B3E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3E8F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3E8F#FFFFFF#000000##FFFFFF
##1B3E8F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#003E8D
Tritanopia (blue-blind)
#005260
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1b3e8f;
/* rgb */ color: rgb(27, 62, 143);
/* oklch */ color: oklch(39.1% 0.141 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b72b0',
    500: '#1b3e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1b3e8f;
$custom-light: #6b72b0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3e8f",
  "rgb": {
    "r": 27,
    "g": 62,
    "b": 143
  },
  "hsl": {
    "h": 221.897,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3907,
    "c": 0.14051,
    "h": 263.6
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#1B3E8F
secondary
#BE9A48
accent
#B63DEB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1B3E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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