#1B3A94#1B3A94

#1B3A94 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.7% C 0.153 H 265.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#1B3A94
RGBrgb(27, 58, 148)
HSLhsl(225, 69%, 34%)
HSVhsv(225, 82%, 58%)
CMYKcmyk(81.8%, 60.8%, 0%, 42%)
CIE-LABlab(27.84, 23.67, -52.61)
CIE-LCHlch(27.84, 57.69, 294.23°)
OKLaboklab(38.67% -0.0127 -0.1521)
OKLCHoklch(38.67% 0.153 265.2)
XYZxyz(7.3085, 5.3964, 28.6676)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3A94 #94751B
analogous
#1B7794 #1B3A94 #391B94
triadic
#1B3A94 #941B3A #3A941B
tetradic
#1B3A94 #941B77 #94751B #1B9439
square
#1B3A94 #941B77 #94751B #1B9439
split-complementary
#1B3A94 #94391B #77941B
monochromatic
#08112C #122660 #1B3A94 #244EC8 #4B71DE

Accessibility & contrast

On white

10.10
#1B3A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#1B3A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3A94
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3A94#FFFFFF#000000##FFFFFF
##1B3A941.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#005161
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1b3a94;
/* rgb */ color: rgb(27, 58, 148);
/* oklch */ color: oklch(38.7% 0.153 265.2);
Tailwind
colors: {
  custom: {
    50: '#6d6fb4',
    500: '#1b3a94',
    950: '#000000',
  },
}
SCSS
$custom: #1b3a94;
$custom-light: #6d6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3a94",
  "rgb": {
    "r": 27,
    "g": 58,
    "b": 148
  },
  "hsl": {
    "h": 224.628,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.15262,
    "h": 265.2
  },
  "luminance": 0.05397
}

Semantic roles & 50–950 ramp

primary
#1B3A94
secondary
#C0A24B
accent
#BF3CEC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1B3A94

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

Preview Lab → · Contrast checker → · Palette generator →

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