#1A2255#1A2255

#1A2255 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.092 H 272.2°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#1A2255
RGBrgb(26, 34, 85)
HSLhsl(232, 53%, 22%)
HSVhsv(232, 69%, 33%)
CMYKcmyk(69.4%, 60%, 0%, 66.7%)
CIE-LABlab(15.59, 15.21, -32.15)
CIE-LCHlch(15.59, 35.57, 295.32°)
OKLaboklab(27.82% 0.0036 -0.0924)
OKLCHoklch(27.82% 0.092 272.2)
XYZxyz(2.6372, 2.0193, 8.8434)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2255 #554D1A
analogous
#1A4055 #1A2255 #301A55
triadic
#1A2255 #551A22 #22551A
tetradic
#1A2255 #551A40 #554D1A #1A5530
square
#1A2255 #551A40 #554D1A #1A5530
split-complementary
#1A2255 #55301A #40551A
monochromatic
#070917 #0C0F26 #1A2255 #283584 #3747B3

Accessibility & contrast

On white

14.96
#1A2255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A2255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2255
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2255#FFFFFF#000000##FFFFFF
##1A22551.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A57
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002E37
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2255;
/* rgb */ color: rgb(26, 34, 85);
/* oklch */ color: oklch(27.8% 0.092 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e5c85',
    500: '#1a2255',
    950: '#000000',
  },
}
SCSS
$custom: #1a2255;
$custom-light: #5e5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2255",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 231.864,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27818,
    "c": 0.09245,
    "h": 272.2
  },
  "luminance": 0.0202
}

Semantic roles & 50–950 ramp

primary
#1A2255
secondary
#8B8140
accent
#C94BDD
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A2255

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

Preview Lab → · Contrast checker → · Palette generator →

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