#1A2D77#1A2D77

#1A2D77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.129 H 267.7°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1A2D77
RGBrgb(26, 45, 119)
HSLhsl(228, 64%, 28%)
HSVhsv(228, 78%, 47%)
CMYKcmyk(78.2%, 62.2%, 0%, 53.3%)
CIE-LABlab(21.68, 21.01, -44.52)
CIE-LCHlch(21.68, 49.23, 295.26°)
OKLaboklab(33.28% -0.0052 -0.1286)
OKLCHoklch(33.28% 0.129 267.7)
XYZxyz(4.6930, 3.4278, 17.8635)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D77 #77641A
analogous
#1A5B77 #1A2D77 #351A77
triadic
#1A2D77 #771A2D #2D771A
tetradic
#1A2D77 #771A5B #77641A #1A7735
square
#1A2D77 #771A5B #77641A #1A7735
split-complementary
#1A2D77 #77351A #5B771A
monochromatic
#050919 #0F1A45 #1A2D77 #2540A9 #3858D3

Accessibility & contrast

On white

12.46
#1A2D77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2D77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D77
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D77#FFFFFF#000000##FFFFFF
##1A2D771.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2d77;
/* rgb */ color: rgb(26, 45, 119);
/* oklch */ color: oklch(33.3% 0.129 267.7);
Tailwind
colors: {
  custom: {
    50: '#66659f',
    500: '#1a2d77',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d77;
$custom-light: #66659f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d77",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 119
  },
  "hsl": {
    "h": 227.742,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33284,
    "c": 0.12868,
    "h": 267.7
  },
  "luminance": 0.03428
}

Semantic roles & 50–950 ramp

primary
#1A2D77
secondary
#AC9641
accent
#C541E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D77

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

Preview Lab → · Contrast checker → · Palette generator →

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