#1B3194#1B3194

#1B3194 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.164 H 267.4°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1B3194
RGBrgb(27, 49, 148)
HSLhsl(229, 69%, 34%)
HSVhsv(229, 82%, 58%)
CMYKcmyk(81.8%, 66.9%, 0%, 42%)
CIE-LABlab(25.46, 29.80, -56.49)
CIE-LCHlch(25.46, 63.87, 297.81°)
OKLaboklab(36.91% -0.0075 -0.1636)
OKLCHoklch(36.91% 0.164 267.4)
XYZxyz(6.8937, 4.5669, 28.5294)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3194 #947E1B
analogous
#1B6E94 #1B3194 #421B94
triadic
#1B3194 #941B31 #31941B
tetradic
#1B3194 #941B6E #947E1B #1B9442
square
#1B3194 #941B6E #947E1B #1B9442
split-complementary
#1B3194 #94421B #6E941B
monochromatic
#080F2C #122060 #1B3194 #2442C8 #4B66DE

Accessibility & contrast

On white

10.97
#1B3194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1B3194 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3194
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3194#FFFFFF#000000##FFFFFF
##1B31941.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004297
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1b3194;
/* rgb */ color: rgb(27, 49, 148);
/* oklch */ color: oklch(36.9% 0.164 267.4);
Tailwind
colors: {
  custom: {
    50: '#6e69b4',
    500: '#1b3194',
    950: '#000000',
  },
}
SCSS
$custom: #1b3194;
$custom-light: #6e69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3194",
  "rgb": {
    "r": 27,
    "g": 49,
    "b": 148
  },
  "hsl": {
    "h": 229.091,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36914,
    "c": 0.16374,
    "h": 267.4
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1B3194
secondary
#C0AB4B
accent
#CC3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1B3194

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

Preview Lab → · Contrast checker → · Palette generator →

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