#1B2E82#1B2E82

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

Color values

HEX#1B2E82
RGBrgb(27, 46, 130)
HSLhsl(229, 66%, 31%)
HSVhsv(229, 79%, 51%)
CMYKcmyk(79.2%, 64.6%, 0%, 49%)
CIE-LABlab(22.99, 24.82, -49.34)
CIE-LCHlch(22.99, 55.23, 296.70°)
OKLaboklab(34.58% -0.005 -0.1427)
OKLCHoklch(34.58% 0.143 268)
XYZxyz(5.4569, 3.7981, 21.5603)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E82 #826F1B
analogous
#1B6182 #1B2E82 #3B1B82
triadic
#1B2E82 #821B2E #2E821B
tetradic
#1B2E82 #821B61 #826F1B #1B823B
square
#1B2E82 #821B61 #826F1B #1B823B
split-complementary
#1B2E82 #823B1B #61821B
monochromatic
#060A1D #101C4F #1B2E82 #2640B5 #405CD7

Accessibility & contrast

On white

11.93
#1B2E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1B2E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E82
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E82#FFFFFF#000000##FFFFFF
##1B2E821.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1b2e82;
/* rgb */ color: rgb(27, 46, 130);
/* oklch */ color: oklch(34.6% 0.143 268.0);
Tailwind
colors: {
  custom: {
    50: '#6966a7',
    500: '#1b2e82',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e82;
$custom-light: #6966a7;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e82",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 228.932,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34576,
    "c": 0.14278,
    "h": 268
  },
  "luminance": 0.03799
}

Semantic roles & 50–950 ramp

primary
#1B2E82
secondary
#B6A043
accent
#C93FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #1B2E82

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

Preview Lab → · Contrast checker → · Palette generator →

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