#1A225A#1A225A

#1A225A is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.3% C 0.100 H 272.2°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#1A225A
RGBrgb(26, 34, 90)
HSLhsl(233, 55%, 23%)
HSVhsv(233, 71%, 35%)
CMYKcmyk(71.1%, 62.2%, 0%, 64.7%)
CIE-LABlab(16.01, 17.23, -34.82)
CIE-LCHlch(16.01, 38.85, 296.32°)
OKLaboklab(28.27% 0.0038 -0.1002)
OKLCHoklch(28.27% 0.1 272.2)
XYZxyz(2.8429, 2.1016, 9.9267)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A225A #5A521A
analogous
#1A425A #1A225A #321A5A
triadic
#1A225A #5A1A22 #225A1A
tetradic
#1A225A #5A1A42 #5A521A #1A5A32
square
#1A225A #5A1A42 #5A521A #1A5A32
split-complementary
#1A225A #5A321A #425A1A
monochromatic
#070918 #0C102B #1A225A #283489 #3546B9

Accessibility & contrast

On white

14.78
#1A225A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#1A225A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A225A
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A225A#FFFFFF#000000##FFFFFF
##1A225A1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#00303A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a225a;
/* rgb */ color: rgb(26, 34, 90);
/* oklch */ color: oklch(28.3% 0.100 272.2);
Tailwind
colors: {
  custom: {
    50: '#5f5c89',
    500: '#1a225a',
    950: '#000000',
  },
}
SCSS
$custom: #1a225a;
$custom-light: #5f5c89;
$custom-dark: #000000;
JSON
{
  "hex": "#1a225a",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 90
  },
  "hsl": {
    "h": 232.5,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28268,
    "c": 0.1003,
    "h": 272.2
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#1A225A
secondary
#908640
accent
#CC49DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A225A

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

Preview Lab → · Contrast checker → · Palette generator →

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