#1A2155#1A2155

#1A2155 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.094 H 272.9°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#1A2155
RGBrgb(26, 33, 85)
HSLhsl(233, 53%, 22%)
HSVhsv(233, 69%, 33%)
CMYKcmyk(69.4%, 61.2%, 0%, 66.7%)
CIE-LABlab(15.29, 15.95, -32.63)
CIE-LCHlch(15.29, 36.32, 296.05°)
OKLaboklab(27.6% 0.0047 -0.0938)
OKLCHoklch(27.6% 0.094 272.9)
XYZxyz(2.6090, 1.9630, 8.8340)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2155 #554E1A
analogous
#1A3F55 #1A2155 #311A55
triadic
#1A2155 #551A21 #21551A
tetradic
#1A2155 #551A3F #554E1A #1A5531
square
#1A2155 #551A3F #554E1A #1A5531
split-complementary
#1A2155 #55311A #3F551A
monochromatic
#070917 #0C0F26 #1A2155 #283384 #3745B3

Accessibility & contrast

On white

15.08
#1A2155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#1A2155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2155
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2155#FFFFFF#000000##FFFFFF
##1A21551.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002957
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#002D37
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a2155;
/* rgb */ color: rgb(26, 33, 85);
/* oklch */ color: oklch(27.6% 0.094 272.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c85',
    500: '#1a2155',
    950: '#000000',
  },
}
SCSS
$custom: #1a2155;
$custom-light: #5e5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2155",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 232.881,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27596,
    "c": 0.09392,
    "h": 272.9
  },
  "luminance": 0.01963
}

Semantic roles & 50–950 ramp

primary
#1A2155
secondary
#8B8240
accent
#CB4BDD
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A2155

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

Preview Lab → · Contrast checker → · Palette generator →

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