#1B3FA0#1B3FA0

#1B3FA0 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.163 H 264.5°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#1B3FA0
RGBrgb(27, 63, 160)
HSLhsl(224, 71%, 37%)
HSVhsv(224, 83%, 63%)
CMYKcmyk(83.1%, 60.6%, 0%, 37.3%)
CIE-LABlab(30.22, 25.01, -56.03)
CIE-LCHlch(30.22, 61.36, 294.06°)
OKLaboklab(40.77% -0.0155 -0.162)
OKLCHoklch(40.77% 0.163 264.5)
XYZxyz(8.5724, 6.3251, 34.0199)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3FA0 #A07C1B
analogous
#1B82A0 #1B3FA0 #391BA0
triadic
#1B3FA0 #A01B3F #3FA01B
tetradic
#1B3FA0 #A01B82 #A07C1B #1BA039
square
#1B3FA0 #A01B82 #A07C1B #1BA039
split-complementary
#1B3FA0 #A0391B #82A01B
monochromatic
#091637 #122A6C #1B3FA0 #2454D4 #537AE2

Accessibility & contrast

On white

9.27
#1B3FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#1B3FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3FA0
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3FA0#FFFFFF#000000##FFFFFF
##1B3FA01.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#00419E
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #1b3fa0;
/* rgb */ color: rgb(27, 63, 160);
/* oklch */ color: oklch(40.8% 0.163 264.5);
Tailwind
colors: {
  custom: {
    50: '#7073bd',
    500: '#1b3fa0',
    950: '#000000',
  },
}
SCSS
$custom: #1b3fa0;
$custom-light: #7073bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3fa0",
  "rgb": {
    "r": 27,
    "g": 63,
    "b": 160
  },
  "hsl": {
    "h": 223.759,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40769,
    "c": 0.16279,
    "h": 264.5
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#1B3FA0
secondary
#C5A652
accent
#BD3AEE
background
#F7F6FB
surface
#EDECF7
border
#C8C7D0
text
#090812
muted
#7B7B81

Preview Lab

Preview with #1B3FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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