#1A2E97#1A2E97

#1A2E97 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.171 H 267.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2E97
RGBrgb(26, 46, 151)
HSLhsl(230, 71%, 35%)
HSVhsv(230, 83%, 59%)
CMYKcmyk(82.8%, 69.5%, 0%, 40.8%)
CIE-LABlab(24.97, 32.84, -59.14)
CIE-LCHlch(24.97, 67.65, 299.04°)
OKLaboklab(36.64% -0.007 -0.1713)
OKLCHoklch(36.64% 0.171 267.7)
XYZxyz(6.9870, 4.4071, 29.7546)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E97 #97831A
analogous
#1A6D97 #1A2E97 #451A97
triadic
#1A2E97 #971A2E #2E971A
tetradic
#1A2E97 #971A6D #97831A #1A9745
square
#1A2E97 #971A6D #97831A #1A9745
split-complementary
#1A2E97 #97451A #6D971A
monochromatic
#080E2F #111E63 #1A2E97 #233ECB #4B63E0

Accessibility & contrast

On white

11.16
#1A2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#1A2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E97
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E97#FFFFFF#000000##FFFFFF
##1A2E971.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419A
Deuteranopia (green-blind)
#003595
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a2e97;
/* rgb */ color: rgb(26, 46, 151);
/* oklch */ color: oklch(36.6% 0.171 267.7);
Tailwind
colors: {
  custom: {
    50: '#6f67b7',
    500: '#1a2e97',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e97;
$custom-light: #6f67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e97",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 230.4,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36635,
    "c": 0.17148,
    "h": 267.7
  },
  "luminance": 0.04408
}

Semantic roles & 50–950 ramp

primary
#1A2E97
secondary
#C2AF4B
accent
#D13AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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