#1B2497#1B2497

#1B2497 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.182 H 269.3°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#1B2497
RGBrgb(27, 36, 151)
HSLhsl(236, 70%, 35%)
HSVhsv(236, 82%, 59%)
CMYKcmyk(82.1%, 76.2%, 0%, 40.8%)
CIE-LABlab(22.75, 39.17, -62.81)
CIE-LCHlch(22.75, 74.02, 301.95°)
OKLaboklab(35.05% -0.0021 -0.182)
OKLCHoklch(35.05% 0.182 269.3)
XYZxyz(6.6669, 3.7284, 29.6404)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2497 #978E1B
analogous
#1B6297 #1B2497 #501B97
triadic
#1B2497 #971B24 #24971B
tetradic
#1B2497 #971B62 #978E1B #1B9750
square
#1B2497 #971B62 #978E1B #1B9750
split-complementary
#1B2497 #97501B #62971B
monochromatic
#080B2F #121863 #1B2497 #2430CB #4D58DF

Accessibility & contrast

On white

12.03
#1B2497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1B2497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2497
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2497#FFFFFF#000000##FFFFFF
##1B24971.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2497;
/* rgb */ color: rgb(27, 36, 151);
/* oklch */ color: oklch(35.0% 0.182 269.3);
Tailwind
colors: {
  custom: {
    50: '#7060b7',
    500: '#1b2497',
    950: '#000000',
  },
}
SCSS
$custom: #1b2497;
$custom-light: #7060b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2497",
  "rgb": {
    "r": 27,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 235.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35049,
    "c": 0.18197,
    "h": 269.3
  },
  "luminance": 0.03729
}

Semantic roles & 50–950 ramp

primary
#1B2497
secondary
#C1B94C
accent
#E03BEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1B2497

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

Preview Lab → · Contrast checker → · Palette generator →

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