#1B2E76#1B2E76

#1B2E76 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.5% C 0.126 H 267.7°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#1B2E76
RGBrgb(27, 46, 118)
HSLhsl(227, 63%, 28%)
HSVhsv(227, 77%, 46%)
CMYKcmyk(77.1%, 61%, 0%, 53.7%)
CIE-LABlab(21.92, 20.03, -43.48)
CIE-LCHlch(21.92, 47.87, 294.73°)
OKLaboklab(33.45% -0.0051 -0.1255)
OKLCHoklch(33.45% 0.126 267.7)
XYZxyz(4.6979, 3.4945, 17.5629)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1B2E76 #76631B
analogous
#1B5B76 #1B2E76 #351B76
triadic
#1B2E76 #761B2E #2E761B
tetradic
#1B2E76 #761B5B #76631B #1B7635
square
#1B2E76 #761B5B #76631B #1B7635
split-complementary
#1B2E76 #76351B #5B761B
monochromatic
#060A19 #101B44 #1B2E76 #2641A8 #3A59D2

Accessibility & contrast

On white

12.36
#1B2E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1B2E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1B2E76
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1B2E76#FFFFFF#000000##FFFFFF
##1B2E761.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003978
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1b2e76;
/* rgb */ color: rgb(27, 46, 118);
/* oklch */ color: oklch(33.5% 0.126 267.7);
Tailwind
colors: {
  custom: {
    50: '#66669e',
    500: '#1b2e76',
    950: '#000000',
  },
}
SCSS
$custom: #1b2e76;
$custom-light: #66669e;
$custom-dark: #000000;
JSON
{
  "hex": "#1b2e76",
  "rgb": {
    "r": 27,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 227.473,
    "s": 62.759,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33452,
    "c": 0.12559,
    "h": 267.7
  },
  "luminance": 0.03495
}

Semantic roles & 50–950 ramp

primary
#1B2E76
secondary
#AA9542
accent
#C442E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1B2E76

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

Preview Lab → · Contrast checker → · Palette generator →

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