#1A2272#1A2272

#1A2272 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.136 H 271.1°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1A2272
RGBrgb(26, 34, 114)
HSLhsl(235, 63%, 27%)
HSVhsv(235, 77%, 45%)
CMYKcmyk(77.2%, 70.2%, 0%, 55.3%)
CIE-LABlab(18.27, 26.70, -46.90)
CIE-LCHlch(18.27, 53.97, 299.66°)
OKLaboklab(30.63% 0.0027 -0.1356)
OKLCHoklch(30.63% 0.136 271.1)
XYZxyz(4.0343, 2.5782, 16.2013)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2272 #726A1A
analogous
#1A4E72 #1A2272 #3E1A72
triadic
#1A2272 #721A22 #22721A
tetradic
#1A2272 #721A4E #726A1A #1A723E
square
#1A2272 #721A4E #726A1A #1A723E
split-complementary
#1A2272 #723E1A #4E721A
monochromatic
#060719 #0F1340 #1A2272 #2531A4 #3544D1

Accessibility & contrast

On white

13.85
#1A2272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A2272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2272
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2272#FFFFFF#000000##FFFFFF
##1A22721.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003174
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2272;
/* rgb */ color: rgb(26, 34, 114);
/* oklch */ color: oklch(30.6% 0.136 271.1);
Tailwind
colors: {
  custom: {
    50: '#665d9b',
    500: '#1a2272',
    950: '#000000',
  },
}
SCSS
$custom: #1a2272;
$custom-light: #665d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2272",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 234.545,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30626,
    "c": 0.13567,
    "h": 271.1
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#1A2272
secondary
#A79E41
accent
#D742E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2272

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

Preview Lab → · Contrast checker → · Palette generator →

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