#1A226D#1A226D

#1A226D is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.1% C 0.129 H 271.4°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#1A226D
RGBrgb(26, 34, 109)
HSLhsl(234, 61%, 26%)
HSVhsv(234, 76%, 43%)
CMYKcmyk(76.1%, 68.8%, 0%, 57.3%)
CIE-LABlab(17.77, 24.77, -44.48)
CIE-LCHlch(17.77, 50.91, 299.11°)
OKLaboklab(30.11% 0.0031 -0.1286)
OKLCHoklch(30.11% 0.129 271.4)
XYZxyz(3.7574, 2.4674, 14.7433)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A226D #6D651A
analogous
#1A4C6D #1A226D #3C1A6D
triadic
#1A226D #6D1A22 #226D1A
tetradic
#1A226D #6D1A4C #6D651A #1A6D3C
square
#1A226D #6D1A4C #6D651A #1A6D3C
split-complementary
#1A226D #6D3C1A #4C6D1A
monochromatic
#060819 #0E133C #1A226D #26319E #3342CE

Accessibility & contrast

On white

14.06
#1A226D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A226D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A226D
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A226D#FFFFFF#000000##FFFFFF
##1A226D1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#00286C
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a226d;
/* rgb */ color: rgb(26, 34, 109);
/* oklch */ color: oklch(30.1% 0.129 271.4);
Tailwind
colors: {
  custom: {
    50: '#645d98',
    500: '#1a226d',
    950: '#000000',
  },
}
SCSS
$custom: #1a226d;
$custom-light: #645d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a226d",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 109
  },
  "hsl": {
    "h": 234.217,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.1286,
    "h": 271.4
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#1A226D
secondary
#A29941
accent
#D543E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A226D

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

Preview Lab → · Contrast checker → · Palette generator →

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