#1A2E8F#1A2E8F

#1A2E8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.161 H 267.7°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#1A2E8F
RGBrgb(26, 46, 143)
HSLhsl(230, 69%, 33%)
HSVhsv(230, 82%, 56%)
CMYKcmyk(81.8%, 67.8%, 0%, 43.9%)
CIE-LABlab(24.18, 29.79, -55.51)
CIE-LCHlch(24.18, 63.00, 298.22°)
OKLaboklab(35.82% -0.0065 -0.1607)
OKLCHoklch(35.82% 0.161 267.7)
XYZxyz(6.3592, 4.1560, 26.4483)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E8F #8F7B1A
analogous
#1A688F #1A2E8F #411A8F
triadic
#1A2E8F #8F1A2E #2E8F1A
tetradic
#1A2E8F #8F1A68 #8F7B1A #1A8F41
square
#1A2E8F #8F1A68 #8F7B1A #1A8F41
split-complementary
#1A2E8F #8F411A #688F1A
monochromatic
#070D27 #111D5B #1A2E8F #233FC3 #4660DD

Accessibility & contrast

On white

11.47
#1A2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E8F
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E8F#FFFFFF#000000##FFFFFF
##1A2E8F1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #1a2e8f;
/* rgb */ color: rgb(26, 46, 143);
/* oklch */ color: oklch(35.8% 0.161 267.7);
Tailwind
colors: {
  custom: {
    50: '#6d66b1',
    500: '#1a2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e8f;
$custom-light: #6d66b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e8f",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 229.744,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35815,
    "c": 0.16088,
    "h": 267.7
  },
  "luminance": 0.04157
}

Semantic roles & 50–950 ramp

primary
#1A2E8F
secondary
#BFAA46
accent
#CE3CEC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #1A2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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