#1A2256#1A2256

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

Color values

HEX#1A2256
RGBrgb(26, 34, 86)
HSLhsl(232, 54%, 22%)
HSVhsv(232, 70%, 34%)
CMYKcmyk(69.8%, 60.5%, 0%, 66.3%)
CIE-LABlab(15.67, 15.62, -32.69)
CIE-LCHlch(15.67, 36.23, 295.53°)
OKLaboklab(27.91% 0.0037 -0.094)
OKLCHoklch(27.91% 0.094 272.2)
XYZxyz(2.6772, 2.0353, 9.0541)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2256 #564E1A
analogous
#1A4056 #1A2256 #301A56
triadic
#1A2256 #561A22 #22561A
tetradic
#1A2256 #561A40 #564E1A #1A5630
square
#1A2256 #561A40 #564E1A #1A5630
split-complementary
#1A2256 #56301A #40561A
monochromatic
#070917 #0C0F27 #1A2256 #283585 #3647B4

Accessibility & contrast

On white

14.92
#1A2256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A2256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2256
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2256#FFFFFF#000000##FFFFFF
##1A22561.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A58
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#002E38
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a2256;
/* rgb */ color: rgb(26, 34, 86);
/* oklch */ color: oklch(27.9% 0.094 272.2);
Tailwind
colors: {
  custom: {
    50: '#5e5c86',
    500: '#1a2256',
    950: '#000000',
  },
}
SCSS
$custom: #1a2256;
$custom-light: #5e5c86;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2256",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 232,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27907,
    "c": 0.09403,
    "h": 272.2
  },
  "luminance": 0.02036
}

Semantic roles & 50–950 ramp

primary
#1A2256
secondary
#8C8240
accent
#C94BDD
background
#F5F5F8
surface
#EAE9EF
border
#C6C5CA
text
#05040B
muted
#79797C

Preview Lab

Preview with #1A2256

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

Preview Lab → · Contrast checker → · Palette generator →

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