#1A226C#1A226C

#1A226C is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.127 H 271.4°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#1A226C
RGBrgb(26, 34, 108)
HSLhsl(234, 61%, 26%)
HSVhsv(234, 76%, 42%)
CMYKcmyk(75.9%, 68.5%, 0%, 57.6%)
CIE-LABlab(17.67, 24.38, -43.99)
CIE-LCHlch(17.67, 50.29, 298.99°)
OKLaboklab(30.01% 0.0032 -0.1271)
OKLCHoklch(30.01% 0.127 271.4)
XYZxyz(3.7039, 2.4460, 14.4614)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A226C #6C641A
analogous
#1A4B6C #1A226C #3B1A6C
triadic
#1A226C #6C1A22 #226C1A
tetradic
#1A226C #6C1A4B #6C641A #1A6C3B
square
#1A226C #6C1A4B #6C641A #1A6C3B
split-complementary
#1A226C #6C3B1A #4B6C1A
monochromatic
#060819 #0E123B #1A226C #26329D #3342CE

Accessibility & contrast

On white

14.10
#1A226C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A226C
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A226C#FFFFFF#000000##FFFFFF
##1A226C1.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6E
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#003543
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a226c;
/* rgb */ color: rgb(26, 34, 108);
/* oklch */ color: oklch(30.0% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#645d97',
    500: '#1a226c',
    950: '#000000',
  },
}
SCSS
$custom: #1a226c;
$custom-light: #645d97;
$custom-dark: #000000;
JSON
{
  "hex": "#1a226c",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 108
  },
  "hsl": {
    "h": 234.146,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30009,
    "c": 0.12716,
    "h": 271.4
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#1A226C
secondary
#A19841
accent
#D543E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A226C

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

Preview Lab → · Contrast checker → · Palette generator →

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