#1A226E#1A226E

#1A226E is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.2% C 0.130 H 271.3°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1A226E
RGBrgb(26, 34, 110)
HSLhsl(234, 62%, 27%)
HSVhsv(234, 76%, 43%)
CMYKcmyk(76.4%, 69.1%, 0%, 56.9%)
CIE-LABlab(17.87, 25.15, -44.96)
CIE-LCHlch(17.87, 51.52, 299.22°)
OKLaboklab(30.21% 0.003 -0.13)
OKLCHoklch(30.21% 0.13 271.3)
XYZxyz(3.8115, 2.4891, 15.0284)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A226E #6E661A
analogous
#1A4C6E #1A226E #3C1A6E
triadic
#1A226E #6E1A22 #226E1A
tetradic
#1A226E #6E1A4C #6E661A #1A6E3C
square
#1A226E #6E1A4C #6E661A #1A6E3C
split-complementary
#1A226E #6E3C1A #4C6E1A
monochromatic
#060819 #0E133D #1A226E #2631A0 #3442CF

Accessibility & contrast

On white

14.02
#1A226E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A226E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A226E
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A226E#FFFFFF#000000##FFFFFF
##1A226E1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#003644
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a226e;
/* rgb */ color: rgb(26, 34, 110);
/* oklch */ color: oklch(30.2% 0.130 271.3);
Tailwind
colors: {
  custom: {
    50: '#655d98',
    500: '#1a226e',
    950: '#000000',
  },
}
SCSS
$custom: #1a226e;
$custom-light: #655d98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a226e",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 234.286,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30213,
    "c": 0.13003,
    "h": 271.3
  },
  "luminance": 0.02489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A226E

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

Preview Lab → · Contrast checker → · Palette generator →

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