#1A225D#1A225D

#1A225D is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.105 H 272.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#1A225D
RGBrgb(26, 34, 93)
HSLhsl(233, 56%, 23%)
HSVhsv(233, 72%, 36%)
CMYKcmyk(72%, 63.4%, 0%, 63.5%)
CIE-LABlab(16.27, 18.43, -36.40)
CIE-LCHlch(16.27, 40.80, 296.85°)
OKLaboklab(28.55% 0.0038 -0.1049)
OKLCHoklch(28.55% 0.105 272.1)
XYZxyz(2.9731, 2.1537, 10.6128)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A225D #5D551A
analogous
#1A435D #1A225D #331A5D
triadic
#1A225D #5D1A22 #225D1A
tetradic
#1A225D #5D1A43 #5D551A #1A5D33
square
#1A225D #5D1A43 #5D551A #1A5D33
split-complementary
#1A225D #5D331A #435D1A
monochromatic
#070918 #0D112D #1A225D #27338D #3545BD

Accessibility & contrast

On white

14.68
#1A225D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A225D
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A225D#FFFFFF#000000##FFFFFF
##1A225D1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#00313B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a225d;
/* rgb */ color: rgb(26, 34, 93);
/* oklch */ color: oklch(28.5% 0.105 272.1);
Tailwind
colors: {
  custom: {
    50: '#605c8b',
    500: '#1a225d',
    950: '#000000',
  },
}
SCSS
$custom: #1a225d;
$custom-light: #605c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a225d",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 93
  },
  "hsl": {
    "h": 232.836,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28546,
    "c": 0.10493,
    "h": 272.1
  },
  "luminance": 0.02154
}

Semantic roles & 50–950 ramp

primary
#1A225D
secondary
#938940
accent
#CE48E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A225D

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

Preview Lab → · Contrast checker → · Palette generator →

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