#1A225E#1A225E

#1A225E is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.106 H 272.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#1A225E
RGBrgb(26, 34, 94)
HSLhsl(233, 57%, 24%)
HSVhsv(233, 72%, 37%)
CMYKcmyk(72.3%, 63.8%, 0%, 63.1%)
CIE-LABlab(16.36, 18.83, -36.92)
CIE-LCHlch(16.36, 41.44, 297.02°)
OKLaboklab(28.64% 0.0038 -0.1064)
OKLCHoklch(28.64% 0.106 272)
XYZxyz(3.0177, 2.1715, 10.8476)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A225E #5E561A
analogous
#1A445E #1A225E #341A5E
triadic
#1A225E #5E1A22 #225E1A
tetradic
#1A225E #5E1A44 #5E561A #1A5E34
square
#1A225E #5E1A44 #5E561A #1A5E34
split-complementary
#1A225E #5E341A #445E1A
monochromatic
#070918 #0D112E #1A225E #27338E #3545BE

Accessibility & contrast

On white

14.64
#1A225E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A225E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A225E
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A225E#FFFFFF#000000##FFFFFF
##1A225E1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C60
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#00313C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #1a225e;
/* rgb */ color: rgb(26, 34, 94);
/* oklch */ color: oklch(28.6% 0.106 272.0);
Tailwind
colors: {
  custom: {
    50: '#605c8c',
    500: '#1a225e',
    950: '#000000',
  },
}
SCSS
$custom: #1a225e;
$custom-light: #605c8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a225e",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 94
  },
  "hsl": {
    "h": 232.941,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.28639,
    "c": 0.10646,
    "h": 272
  },
  "luminance": 0.02172
}

Semantic roles & 50–950 ramp

primary
#1A225E
secondary
#948A40
accent
#CE48E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A225E

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

Preview Lab → · Contrast checker → · Palette generator →

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