#1A2479#1A2479

#1A2479 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.7% C 0.143 H 270.3°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1A2479
RGBrgb(26, 36, 121)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 47%)
CMYKcmyk(78.5%, 70.2%, 0%, 52.5%)
CIE-LABlab(19.48, 28.04, -49.40)
CIE-LCHlch(19.48, 56.81, 299.58°)
OKLaboklab(31.72% 0.0007 -0.1429)
OKLCHoklch(31.72% 0.143 270.3)
XYZxyz(4.5069, 2.8614, 18.4002)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2479 #796F1A
analogous
#1A5479 #1A2479 #401A79
triadic
#1A2479 #791A24 #24791A
tetradic
#1A2479 #791A54 #796F1A #1A7940
square
#1A2479 #791A54 #796F1A #1A7940
split-complementary
#1A2479 #79401A #54791A
monochromatic
#050719 #0F1547 #1A2479 #2533AB #3949D4

Accessibility & contrast

On white

13.36
#1A2479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2479
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2479#FFFFFF#000000##FFFFFF
##1A24791.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003B4B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2479;
/* rgb */ color: rgb(26, 36, 121);
/* oklch */ color: oklch(31.7% 0.143 270.3);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#1a2479',
    950: '#000000',
  },
}
SCSS
$custom: #1a2479;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2479",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 233.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31722,
    "c": 0.14295,
    "h": 270.3
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#1A2479
secondary
#ADA241
accent
#D640E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2479

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

Preview Lab → · Contrast checker → · Palette generator →

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