#1A2154#1A2154

#1A2154 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.5% C 0.092 H 272.9°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#1A2154
RGBrgb(26, 33, 84)
HSLhsl(233, 53%, 22%)
HSVhsv(233, 69%, 33%)
CMYKcmyk(69%, 60.7%, 0%, 67.1%)
CIE-LABlab(15.21, 15.55, -32.09)
CIE-LCHlch(15.21, 35.66, 295.85°)
OKLaboklab(27.51% 0.0046 -0.0922)
OKLCHoklch(27.51% 0.092 272.9)
XYZxyz(2.5696, 1.9472, 8.6262)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2154 #544D1A
analogous
#1A3E54 #1A2154 #301A54
triadic
#1A2154 #541A21 #21541A
tetradic
#1A2154 #541A3E #544D1A #1A5430
square
#1A2154 #541A3E #544D1A #1A5430
split-complementary
#1A2154 #54301A #3E541A
monochromatic
#070917 #0C0F25 #1A2154 #283383 #3746B1

Accessibility & contrast

On white

15.11
#1A2154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2154
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2154#FFFFFF#000000##FFFFFF
##1A21541.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002956
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#002D36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #1a2154;
/* rgb */ color: rgb(26, 33, 84);
/* oklch */ color: oklch(27.5% 0.092 272.9);
Tailwind
colors: {
  custom: {
    50: '#5e5c85',
    500: '#1a2154',
    950: '#000000',
  },
}
SCSS
$custom: #1a2154;
$custom-light: #5e5c85;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2154",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 232.759,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27507,
    "c": 0.09234,
    "h": 272.9
  },
  "luminance": 0.01947
}

Semantic roles & 50–950 ramp

primary
#1A2154
secondary
#8A8140
accent
#CB4CDC
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A2154

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

Preview Lab → · Contrast checker → · Palette generator →

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