#1B3F83#1B3F83

#1B3F83 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.122 H 261.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#1B3F83
RGBrgb(27, 63, 131)
HSLhsl(219, 66%, 31%)
HSVhsv(219, 79%, 51%)
CMYKcmyk(79.4%, 51.9%, 0%, 48.6%)
CIE-LABlab(27.92, 13.32, -41.97)
CIE-LCHlch(27.92, 44.03, 287.62°)
OKLaboklab(38.31% -0.0178 -0.1207)
OKLCHoklch(38.31% 0.122 261.6)
XYZxyz(6.3248, 5.4260, 22.1823)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3F83 #835F1B
analogous
#1B7383 #1B3F83 #2B1B83
triadic
#1B3F83 #831B3F #3F831B
tetradic
#1B3F83 #831B73 #835F1B #1B832B
square
#1B3F83 #831B73 #835F1B #1B832B
split-complementary
#1B3F83 #832B1B #73831B
monochromatic
#060E1E #112750 #1B3F83 #2557B6 #4175D8

Accessibility & contrast

On white

10.07
#1B3F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#1B3F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3F83
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3F83#FFFFFF#000000##FFFFFF
##1B3F831.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#003D82
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3f83;
/* rgb */ color: rgb(27, 63, 131);
/* oklch */ color: oklch(38.3% 0.122 261.6);
Tailwind
colors: {
  custom: {
    50: '#6873a8',
    500: '#1b3f83',
    950: '#000000',
  },
}
SCSS
$custom: #1b3f83;
$custom-light: #6873a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3f83",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 131
  },
  "hsl": {
    "h": 219.231,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38305,
    "c": 0.12203,
    "h": 261.6
  },
  "luminance": 0.05427
}

Semantic roles & 50–950 ramp

primary
#1B3F83
secondary
#B68F43
accent
#AE3FE9
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #1B3F83

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

Preview Lab → · Contrast checker → · Palette generator →

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