#1B2E79#1B2E79

#1B2E79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.130 H 267.8°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#1B2E79
RGBrgb(27, 46, 121)
HSLhsl(228, 64%, 29%)
HSVhsv(228, 78%, 47%)
CMYKcmyk(77.7%, 62%, 0%, 52.5%)
CIE-LABlab(22.18, 21.23, -44.97)
CIE-LCHlch(22.18, 49.73, 295.28°)
OKLaboklab(33.73% -0.005 -0.1299)
OKLCHoklch(33.73% 0.13 267.8)
XYZxyz(4.8790, 3.5669, 18.5168)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E79 #79661B
analogous
#1B5D79 #1B2E79 #371B79
triadic
#1B2E79 #791B2E #2E791B
tetradic
#1B2E79 #791B5D #79661B #1B7937
square
#1B2E79 #791B5D #79661B #1B7937
split-complementary
#1B2E79 #79371B #5D791B
monochromatic
#060A19 #101B47 #1B2E79 #2641AB #3B5AD3

Accessibility & contrast

On white

12.26
#1B2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1B2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E79
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E79#FFFFFF#000000##FFFFFF
##1B2E791.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1b2e79;
/* rgb */ color: rgb(27, 46, 121);
/* oklch */ color: oklch(33.7% 0.130 267.8);
Tailwind
colors: {
  custom: {
    50: '#6766a0',
    500: '#1b2e79',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e79;
$custom-light: #6766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e79",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 227.872,
    "s": 63.514,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33727,
    "c": 0.12996,
    "h": 267.8
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#1B2E79
secondary
#AD9843
accent
#C541E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1B2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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