#1A2079#1A2079

#1A2079 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.148 H 271.2°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1A2079
RGBrgb(26, 32, 121)
HSLhsl(236, 65%, 29%)
HSVhsv(236, 79%, 47%)
CMYKcmyk(78.5%, 73.6%, 0%, 52.5%)
CIE-LABlab(18.51, 30.69, -51.00)
CIE-LCHlch(18.51, 59.52, 301.04°)
OKLaboklab(31.02% 0.003 -0.1476)
OKLCHoklch(31.02% 0.148 271.2)
XYZxyz(4.3925, 2.6326, 18.3621)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2079 #79731A
analogous
#1A5079 #1A2079 #441A79
triadic
#1A2079 #791A20 #20791A
tetradic
#1A2079 #791A50 #79731A #1A7944
square
#1A2079 #791A50 #79731A #1A7944
split-complementary
#1A2079 #79441A #50791A
monochromatic
#050719 #0F1347 #1A2079 #252DAB #3943D4

Accessibility & contrast

On white

13.76
#1A2079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2079
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2079#FFFFFF#000000##FFFFFF
##1A20791.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002877
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2079;
/* rgb */ color: rgb(26, 32, 121);
/* oklch */ color: oklch(31.0% 0.148 271.2);
Tailwind
colors: {
  custom: {
    50: '#685ca1',
    500: '#1a2079',
    950: '#000000',
  },
}
SCSS
$custom: #1a2079;
$custom-light: #685ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2079",
  "rgb": {
    "r": 26,
    "g": 32,
    "b": 121
  },
  "hsl": {
    "h": 236.211,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3102,
    "c": 0.14765,
    "h": 271.2
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#1A2079
secondary
#ADA741
accent
#DD40E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2079

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

Preview Lab → · Contrast checker → · Palette generator →

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