#1B3497#1B3497

#1B3497 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.164 H 266.8°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#1B3497
RGBrgb(27, 52, 151)
HSLhsl(228, 70%, 35%)
HSVhsv(228, 82%, 59%)
CMYKcmyk(82.1%, 65.6%, 0%, 40.8%)
CIE-LABlab(26.51, 28.94, -56.61)
CIE-LCHlch(26.51, 63.58, 297.08°)
OKLaboklab(37.77% -0.0092 -0.1639)
OKLCHoklch(37.77% 0.164 266.8)
XYZxyz(7.2639, 4.9225, 29.8395)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B3497 #977E1B
analogous
#1B7297 #1B3497 #401B97
triadic
#1B3497 #971B34 #34971B
tetradic
#1B3497 #971B72 #977E1B #1B9740
square
#1B3497 #971B72 #977E1B #1B9740
split-complementary
#1B3497 #97401B #72971B
monochromatic
#08102F #122263 #1B3497 #2446CB #4D6BDF

Accessibility & contrast

On white

10.58
#1B3497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1B3497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B3497
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B3497#FFFFFF#000000##FFFFFF
##1B34971.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1b3497;
/* rgb */ color: rgb(27, 52, 151);
/* oklch */ color: oklch(37.8% 0.164 266.8);
Tailwind
colors: {
  custom: {
    50: '#6e6bb7',
    500: '#1b3497',
    950: '#000000',
  },
}
SCSS
$custom: #1b3497;
$custom-light: #6e6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b3497",
  "rgb": {
    "r": 27,
    "g": 52,
    "b": 151
  },
  "hsl": {
    "h": 227.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37772,
    "c": 0.16416,
    "h": 266.8
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#1B3497
secondary
#C1AA4C
accent
#C93BEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1B3497

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

Preview Lab → · Contrast checker → · Palette generator →

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