#1A2697#1A2697

#1A2697 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.180 H 268.8°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#1A2697
RGBrgb(26, 38, 151)
HSLhsl(234, 71%, 35%)
HSVhsv(234, 83%, 59%)
CMYKcmyk(82.8%, 74.8%, 0%, 40.8%)
CIE-LABlab(23.13, 37.90, -62.18)
CIE-LCHlch(23.13, 72.82, 301.36°)
OKLaboklab(35.31% -0.0038 -0.1802)
OKLCHoklch(35.31% 0.18 268.8)
XYZxyz(6.7031, 3.8394, 29.6600)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2697 #978B1A
analogous
#1A6597 #1A2697 #4D1A97
triadic
#1A2697 #971A26 #26971A
tetradic
#1A2697 #971A65 #978B1A #1A974D
square
#1A2697 #971A65 #978B1A #1A974D
split-complementary
#1A2697 #974D1A #65971A
monochromatic
#080C2F #111963 #1A2697 #2333CB #4B5AE0

Accessibility & contrast

On white

11.88
#1A2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#1A2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2697
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2697#FFFFFF#000000##FFFFFF
##1A26971.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003195
Tritanopia (blue-blind)
#00475C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a2697;
/* rgb */ color: rgb(26, 38, 151);
/* oklch */ color: oklch(35.3% 0.180 268.8);
Tailwind
colors: {
  custom: {
    50: '#7061b7',
    500: '#1a2697',
    950: '#000000',
  },
}
SCSS
$custom: #1a2697;
$custom-light: #7061b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2697",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 234.24,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35307,
    "c": 0.18021,
    "h": 268.8
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#1A2697
secondary
#C2B74B
accent
#DC3AED
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1A2697

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

Preview Lab → · Contrast checker → · Palette generator →

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