#1A2E77#1A2E77

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

Color values

HEX#1A2E77
RGBrgb(26, 46, 119)
HSLhsl(227, 64%, 28%)
HSVhsv(227, 78%, 47%)
CMYKcmyk(78.2%, 61.3%, 0%, 53.3%)
CIE-LABlab(21.96, 20.30, -44.06)
CIE-LCHlch(21.96, 48.51, 294.74°)
OKLaboklab(33.49% -0.006 -0.1272)
OKLCHoklch(33.49% 0.127 267.3)
XYZxyz(4.7316, 3.5050, 17.8763)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E77 #77631A
analogous
#1A5C77 #1A2E77 #341A77
triadic
#1A2E77 #771A2E #2E771A
tetradic
#1A2E77 #771A5C #77631A #1A7734
square
#1A2E77 #771A5C #77631A #1A7734
split-complementary
#1A2E77 #77341A #5C771A
monochromatic
#050A19 #0F1B45 #1A2E77 #2541A9 #3859D3

Accessibility & contrast

On white

12.34
#1A2E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E77
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E77#FFFFFF#000000##FFFFFF
##1A2E771.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003979
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2e77;
/* rgb */ color: rgb(26, 46, 119);
/* oklch */ color: oklch(33.5% 0.127 267.3);
Tailwind
colors: {
  custom: {
    50: '#66669f',
    500: '#1a2e77',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e77;
$custom-light: #66669f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e77",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 227.097,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33494,
    "c": 0.12735,
    "h": 267.3
  },
  "luminance": 0.03506
}

Semantic roles & 50–950 ramp

primary
#1A2E77
secondary
#AC9541
accent
#C341E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E77

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

Preview Lab → · Contrast checker → · Palette generator →

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