#1A2E72#1A2E72

#1A2E72 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.120 H 267.0°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#1A2E72
RGBrgb(26, 46, 114)
HSLhsl(226, 63%, 27%)
HSVhsv(226, 77%, 45%)
CMYKcmyk(77.2%, 59.6%, 0%, 55.3%)
CIE-LABlab(21.54, 18.27, -41.56)
CIE-LCHlch(21.54, 45.40, 293.74°)
OKLaboklab(33.04% -0.0062 -0.1199)
OKLCHoklch(33.04% 0.12 267)
XYZxyz(4.4392, 3.3880, 16.3363)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E72 #725E1A
analogous
#1A5A72 #1A2E72 #321A72
triadic
#1A2E72 #721A2E #2E721A
tetradic
#1A2E72 #721A5A #725E1A #1A7232
square
#1A2E72 #721A5A #725E1A #1A7232
split-complementary
#1A2E72 #72321A #5A721A
monochromatic
#060A19 #0F1A40 #1A2E72 #2542A4 #3559D1

Accessibility & contrast

On white

12.52
#1A2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E72
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E72#FFFFFF#000000##FFFFFF
##1A2E721.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#003071
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2e72;
/* rgb */ color: rgb(26, 46, 114);
/* oklch */ color: oklch(33.0% 0.120 267.0);
Tailwind
colors: {
  custom: {
    50: '#65669b',
    500: '#1a2e72',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e72;
$custom-light: #65669b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e72",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 226.364,
    "s": 62.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3304,
    "c": 0.12002,
    "h": 267
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#1A2E72
secondary
#A79041
accent
#C142E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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