#1A2E80#1A2E80

#1A2E80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.3% C 0.140 H 267.6°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#1A2E80
RGBrgb(26, 46, 128)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 80%, 50%)
CMYKcmyk(79.7%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.76, 23.91, -48.46)
CIE-LCHlch(22.76, 54.04, 296.26°)
OKLaboklab(34.34% -0.006 -0.1401)
OKLCHoklch(34.34% 0.14 267.6)
XYZxyz(5.2979, 3.7315, 20.8589)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E80 #806C1A
analogous
#1A6180 #1A2E80 #391A80
triadic
#1A2E80 #801A2E #2E801A
tetradic
#1A2E80 #801A61 #806C1A #1A8039
square
#1A2E80 #801A61 #806C1A #1A8039
split-complementary
#1A2E80 #80391A #61801A
monochromatic
#05091A #101C4D #1A2E80 #2440B3 #3D5BD8

Accessibility & contrast

On white

12.02
#1A2E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A2E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E80
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E80#FFFFFF#000000##FFFFFF
##1A2E801.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2e80;
/* rgb */ color: rgb(26, 46, 128);
/* oklch */ color: oklch(34.3% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#6866a6',
    500: '#1a2e80',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e80;
$custom-light: #6866a6;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e80",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 228.235,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34338,
    "c": 0.14025,
    "h": 267.6
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#1A2E80
secondary
#B49E42
accent
#C83FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2E80

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

Preview Lab → · Contrast checker → · Palette generator →

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