#1A226F#1A226F

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

Color values

HEX#1A226F
RGBrgb(26, 34, 111)
HSLhsl(234, 62%, 27%)
HSVhsv(234, 77%, 44%)
CMYKcmyk(76.6%, 69.4%, 0%, 56.5%)
CIE-LABlab(17.97, 25.54, -45.45)
CIE-LCHlch(17.97, 52.14, 299.34°)
OKLaboklab(30.32% 0.0029 -0.1314)
OKLCHoklch(30.32% 0.131 271.3)
XYZxyz(3.8663, 2.5110, 15.3167)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A226F #6F671A
analogous
#1A4D6F #1A226F #3D1A6F
triadic
#1A226F #6F1A22 #226F1A
tetradic
#1A226F #6F1A4D #6F671A #1A6F3D
square
#1A226F #6F1A4D #6F671A #1A6F3D
split-complementary
#1A226F #6F3D1A #4D6F1A
monochromatic
#060819 #0E133D #1A226F #2631A1 #3443CF

Accessibility & contrast

On white

13.98
#1A226F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A226F
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A226F#FFFFFF#000000##FFFFFF
##1A226F1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#003645
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a226f;
/* rgb */ color: rgb(26, 34, 111);
/* oklch */ color: oklch(30.3% 0.131 271.3);
Tailwind
colors: {
  custom: {
    50: '#655d99',
    500: '#1a226f',
    950: '#000000',
  },
}
SCSS
$custom: #1a226f;
$custom-light: #655d99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a226f",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 234.353,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30316,
    "c": 0.13144,
    "h": 271.3
  },
  "luminance": 0.02511
}

Semantic roles & 50–950 ramp

primary
#1A226F
secondary
#A49B41
accent
#D643E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A226F

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

Preview Lab → · Contrast checker → · Palette generator →

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