#1A2E7A#1A2E7A

#1A2E7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.132 H 267.4°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#1A2E7A
RGBrgb(26, 46, 122)
HSLhsl(228, 65%, 29%)
HSVhsv(228, 79%, 48%)
CMYKcmyk(78.7%, 62.3%, 0%, 52.2%)
CIE-LABlab(22.22, 21.51, -45.54)
CIE-LCHlch(22.22, 50.37, 295.28°)
OKLaboklab(33.77% -0.006 -0.1316)
OKLCHoklch(33.77% 0.132 267.4)
XYZxyz(4.9146, 3.5782, 18.8402)
Luminance0.0358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E7A #7A661A
analogous
#1A5E7A #1A2E7A #361A7A
triadic
#1A2E7A #7A1A2E #2E7A1A
tetradic
#1A2E7A #7A1A5E #7A661A #1A7A36
square
#1A2E7A #7A1A5E #7A661A #1A7A36
split-complementary
#1A2E7A #7A361A #5E7A1A
monochromatic
#050A19 #0F1B48 #1A2E7A #2541AC #395AD5

Accessibility & contrast

On white

12.24
#1A2E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1A2E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E7A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E7A#FFFFFF#000000##FFFFFF
##1A2E7A1.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#00414F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2e7a;
/* rgb */ color: rgb(26, 46, 122);
/* oklch */ color: oklch(33.8% 0.132 267.4);
Tailwind
colors: {
  custom: {
    50: '#6766a1',
    500: '#1a2e7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e7a;
$custom-light: #6766a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e7a",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 227.5,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33771,
    "c": 0.13169,
    "h": 267.4
  },
  "luminance": 0.03579
}

Semantic roles & 50–950 ramp

primary
#1A2E7A
secondary
#AE9841
accent
#C540E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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