#1A226A#1A226A

#1A226A is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.8% C 0.124 H 271.5°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#1A226A
RGBrgb(26, 34, 106)
HSLhsl(234, 61%, 26%)
HSVhsv(234, 75%, 42%)
CMYKcmyk(75.5%, 67.9%, 0%, 58.4%)
CIE-LABlab(17.48, 23.59, -43.00)
CIE-LCHlch(17.48, 49.05, 298.75°)
OKLaboklab(29.81% 0.0033 -0.1242)
OKLCHoklch(29.81% 0.124 271.5)
XYZxyz(3.5987, 2.4039, 13.9072)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A226A #6A621A
analogous
#1A4A6A #1A226A #3A1A6A
triadic
#1A226A #6A1A22 #226A1A
tetradic
#1A226A #6A1A4A #6A621A #1A6A3A
square
#1A226A #6A1A4A #6A621A #1A6A3A
split-complementary
#1A226A #6A3A1A #4A6A1A
monochromatic
#060819 #0E1239 #1A226A #26329B #3242CC

Accessibility & contrast

On white

14.18
#1A226A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A226A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A226A
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A226A#FFFFFF#000000##FFFFFF
##1A226A1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6C
Deuteranopia (green-blind)
#002769
Tritanopia (blue-blind)
#003542
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a226a;
/* rgb */ color: rgb(26, 34, 106);
/* oklch */ color: oklch(29.8% 0.124 271.5);
Tailwind
colors: {
  custom: {
    50: '#645d95',
    500: '#1a226a',
    950: '#000000',
  },
}
SCSS
$custom: #1a226a;
$custom-light: #645d95;
$custom-dark: #000000;
JSON
{
  "hex": "#1a226a",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 106
  },
  "hsl": {
    "h": 234,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.29807,
    "c": 0.12428,
    "h": 271.5
  },
  "luminance": 0.02404
}

Semantic roles & 50–950 ramp

primary
#1A226A
secondary
#9F9640
accent
#D444E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A226A

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

Preview Lab → · Contrast checker → · Palette generator →

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