#1B2E80#1B2E80

#1B2E80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.140 H 267.9°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#1B2E80
RGBrgb(27, 46, 128)
HSLhsl(229, 65%, 30%)
HSVhsv(229, 79%, 50%)
CMYKcmyk(78.9%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.81, 24.03, -48.38)
CIE-LCHlch(22.81, 54.02, 296.41°)
OKLaboklab(34.39% -0.005 -0.1399)
OKLCHoklch(34.39% 0.14 267.9)
XYZxyz(5.3239, 3.7449, 20.8601)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E80 #806D1B
analogous
#1B6080 #1B2E80 #3A1B80
triadic
#1B2E80 #801B2E #2E801B
tetradic
#1B2E80 #801B60 #806D1B #1B803A
square
#1B2E80 #801B60 #806D1B #1B803A
split-complementary
#1B2E80 #803A1B #60801B
monochromatic
#060A1B #101C4D #1B2E80 #2640B3 #3F5BD6

Accessibility & contrast

On white

12.01
#1B2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1B2E80
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E80#FFFFFF#000000##FFFFFF
##1B2E801.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1b2e80;
/* rgb */ color: rgb(27, 46, 128);
/* oklch */ color: oklch(34.4% 0.140 267.9);
Tailwind
colors: {
  custom: {
    50: '#6966a6',
    500: '#1b2e80',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e80;
$custom-light: #6966a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e80",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 228.713,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34385,
    "c": 0.13996,
    "h": 267.9
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#1B2E80
secondary
#B49F43
accent
#C840E8
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1B2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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