#1A2E7B#1A2E7B

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

Color values

HEX#1A2E7B
RGBrgb(26, 46, 123)
HSLhsl(228, 65%, 29%)
HSVhsv(228, 79%, 48%)
CMYKcmyk(78.9%, 62.6%, 0%, 51.8%)
CIE-LABlab(22.31, 21.91, -46.03)
CIE-LCHlch(22.31, 50.98, 295.46°)
OKLaboklab(33.86% -0.0059 -0.133)
OKLCHoklch(33.86% 0.133 267.4)
XYZxyz(4.9769, 3.6031, 19.1682)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E7B #7B671A
analogous
#1A5F7B #1A2E7B #371A7B
triadic
#1A2E7B #7B1A2E #2E7B1A
tetradic
#1A2E7B #7B1A5F #7B671A #1A7B37
square
#1A2E7B #7B1A5F #7B671A #1A7B37
split-complementary
#1A2E7B #7B371A #5F7B1A
monochromatic
#050919 #0F1B48 #1A2E7B #2541AE #3A5AD5

Accessibility & contrast

On white

12.20
#1A2E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E7B
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E7B#FFFFFF#000000##FFFFFF
##1A2E7B1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2e7b;
/* rgb */ color: rgb(26, 46, 123);
/* oklch */ color: oklch(33.9% 0.133 267.4);
Tailwind
colors: {
  custom: {
    50: '#6766a2',
    500: '#1a2e7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e7b;
$custom-light: #6766a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e7b",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 227.629,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33864,
    "c": 0.13313,
    "h": 267.4
  },
  "luminance": 0.03604
}

Semantic roles & 50–950 ramp

primary
#1A2E7B
secondary
#AF9942
accent
#C540E8
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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