#1A2E50#1A2E50

#1A2E50 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.3% C 0.067 H 260.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1A2E50
RGBrgb(26, 46, 80)
HSLhsl(218, 51%, 21%)
HSVhsv(218, 68%, 31%)
CMYKcmyk(67.5%, 42.5%, 0%, 68.6%)
CIE-LABlab(19.02, 4.38, -23.27)
CIE-LCHlch(19.02, 23.68, 280.66°)
OKLaboklab(30.32% -0.0112 -0.0661)
OKLCHoklch(30.32% 0.067 260.4)
XYZxyz(2.8505, 2.7525, 7.9689)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E50 #503C1A
analogous
#1A4950 #1A2E50 #211A50
triadic
#1A2E50 #501A2E #2E501A
tetradic
#1A2E50 #501A49 #503C1A #1A5021
square
#1A2E50 #501A49 #503C1A #1A5021
split-complementary
#1A2E50 #50211A #49501A
monochromatic
#080D17 #0B1322 #1A2E50 #29497E #3863AC

Accessibility & contrast

On white

13.54
#1A2E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A2E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E50
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E50#FFFFFF#000000##FFFFFF
##1A2E501.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3151
Deuteranopia (green-blind)
#182C4F
Tritanopia (blue-blind)
#00363B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2e50;
/* rgb */ color: rgb(26, 46, 80);
/* oklch */ color: oklch(30.3% 0.067 260.4);
Tailwind
colors: {
  custom: {
    50: '#5c6681',
    500: '#1a2e50',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e50;
$custom-light: #5c6681;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e50",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 80
  },
  "hsl": {
    "h": 217.778,
    "s": 50.943,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30324,
    "c": 0.06705,
    "h": 260.4
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#1A2E50
secondary
#866C40
accent
#A64DDA
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E50

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

Preview Lab → · Contrast checker → · Palette generator →

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