#1B3F85#1B3F85

#1B3F85 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.5% C 0.125 H 261.9°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1B3F85
RGBrgb(27, 63, 133)
HSLhsl(220, 66%, 31%)
HSVhsv(220, 80%, 52%)
CMYKcmyk(79.7%, 52.6%, 0%, 47.8%)
CIE-LABlab(28.06, 14.14, -42.97)
CIE-LCHlch(28.06, 45.24, 288.21°)
OKLaboklab(38.46% -0.0175 -0.1237)
OKLCHoklch(38.46% 0.125 261.9)
XYZxyz(6.4616, 5.4807, 22.9031)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F85 #85611B
analogous
#1B7485 #1B3F85 #2C1B85
triadic
#1B3F85 #851B3F #3F851B
tetradic
#1B3F85 #851B74 #85611B #1B852C
square
#1B3F85 #851B74 #85611B #1B852C
split-complementary
#1B3F85 #852C1B #74851B
monochromatic
#060F1F #112752 #1B3F85 #2557B8 #4275D9

Accessibility & contrast

On white

10.02
#1B3F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1B3F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F85
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F85#FFFFFF#000000##FFFFFF
##1B3F851.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124788
Deuteranopia (green-blind)
#003E84
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3f85;
/* rgb */ color: rgb(27, 63, 133);
/* oklch */ color: oklch(38.5% 0.125 261.9);
Tailwind
colors: {
  custom: {
    50: '#6973a9',
    500: '#1b3f85',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f85;
$custom-light: #6973a9;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f85",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 133
  },
  "hsl": {
    "h": 219.623,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.38465,
    "c": 0.12493,
    "h": 261.9
  },
  "luminance": 0.05481
}

Semantic roles & 50–950 ramp

primary
#1B3F85
secondary
#B89144
accent
#AF3FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1B3F85

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

Preview Lab → · Contrast checker → · Palette generator →

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