#1A2E71#1A2E71

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

Color values

HEX#1A2E71
RGBrgb(26, 46, 113)
HSLhsl(226, 63%, 27%)
HSVhsv(226, 77%, 44%)
CMYKcmyk(77%, 59.3%, 0%, 55.7%)
CIE-LABlab(21.45, 17.87, -41.05)
CIE-LCHlch(21.45, 44.77, 293.52°)
OKLaboklab(32.95% -0.0062 -0.1184)
OKLCHoklch(32.95% 0.119 267)
XYZxyz(4.3826, 3.3654, 16.0382)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E71 #715D1A
analogous
#1A5A71 #1A2E71 #321A71
triadic
#1A2E71 #711A2E #2E711A
tetradic
#1A2E71 #711A5A #715D1A #1A7132
square
#1A2E71 #711A5A #715D1A #1A7132
split-complementary
#1A2E71 #71321A #5A711A
monochromatic
#060A19 #0F1A3F #1A2E71 #2542A3 #3559D0

Accessibility & contrast

On white

12.55
#1A2E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E71
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E71#FFFFFF#000000##FFFFFF
##1A2E711.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2e71;
/* rgb */ color: rgb(26, 46, 113);
/* oklch */ color: oklch(33.0% 0.119 267.0);
Tailwind
colors: {
  custom: {
    50: '#64669a',
    500: '#1a2e71',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e71;
$custom-light: #64669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e71",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 113
  },
  "hsl": {
    "h": 226.207,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32951,
    "c": 0.11853,
    "h": 267
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#1A2E71
secondary
#A68F41
accent
#C042E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E71

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

Preview Lab → · Contrast checker → · Palette generator →

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