#1B3D94#1B3D94

#1B3D94 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.3% C 0.149 H 264.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#1B3D94
RGBrgb(27, 61, 148)
HSLhsl(223, 69%, 34%)
HSVhsv(223, 82%, 58%)
CMYKcmyk(81.8%, 58.8%, 0%, 42%)
CIE-LABlab(28.66, 21.60, -51.26)
CIE-LCHlch(28.66, 55.63, 292.85°)
OKLaboklab(39.29% -0.0147 -0.1481)
OKLCHoklch(39.29% 0.149 264.3)
XYZxyz(7.4641, 5.7077, 28.7195)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3D94 #94721B
analogous
#1B7A94 #1B3D94 #351B94
triadic
#1B3D94 #941B3D #3D941B
tetradic
#1B3D94 #941B7A #94721B #1B9435
square
#1B3D94 #941B7A #94721B #1B9435
split-complementary
#1B3D94 #94351B #7A941B
monochromatic
#08122C #122860 #1B3D94 #2452C8 #4B75DE

Accessibility & contrast

On white

9.80
#1B3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#1B3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3D94
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3D94#FFFFFF#000000##FFFFFF
##1B3D941.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004997
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1b3d94;
/* rgb */ color: rgb(27, 61, 148);
/* oklch */ color: oklch(39.3% 0.149 264.3);
Tailwind
colors: {
  custom: {
    50: '#6d72b4',
    500: '#1b3d94',
    950: '#000000',
  },
}
SCSS
$custom: #1b3d94;
$custom-light: #6d72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3d94",
  "rgb": {
    "r": 27,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 223.14,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3929,
    "c": 0.14882,
    "h": 264.3
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#1B3D94
secondary
#C09F4B
accent
#BA3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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