#1B2E81#1B2E81

#1B2E81 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.141 H 268.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#1B2E81
RGBrgb(27, 46, 129)
HSLhsl(229, 65%, 31%)
HSVhsv(229, 79%, 51%)
CMYKcmyk(79.1%, 64.3%, 0%, 49.4%)
CIE-LABlab(22.90, 24.42, -48.86)
CIE-LCHlch(22.90, 54.63, 296.56°)
OKLaboklab(34.48% -0.005 -0.1413)
OKLCHoklch(34.48% 0.141 268)
XYZxyz(5.3901, 3.7714, 21.2085)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E81 #816E1B
analogous
#1B6181 #1B2E81 #3B1B81
triadic
#1B2E81 #811B2E #2E811B
tetradic
#1B2E81 #811B61 #816E1B #1B813B
square
#1B2E81 #811B61 #816E1B #1B813B
split-complementary
#1B2E81 #813B1B #61811B
monochromatic
#060A1C #101C4E #1B2E81 #2640B4 #3F5CD7

Accessibility & contrast

On white

11.97
#1B2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E81
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E81#FFFFFF#000000##FFFFFF
##1B2E811.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2e81;
/* rgb */ color: rgb(27, 46, 129);
/* oklch */ color: oklch(34.5% 0.141 268.0);
Tailwind
colors: {
  custom: {
    50: '#6966a6',
    500: '#1b2e81',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e81;
$custom-light: #6966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e81",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 228.824,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3448,
    "c": 0.14137,
    "h": 268
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#1B2E81
secondary
#B59F43
accent
#C93FE8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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