#1A2579#1A2579

#1A2579 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.142 H 270.1°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2579
RGBrgb(26, 37, 121)
HSLhsl(233, 65%, 29%)
HSVhsv(233, 79%, 47%)
CMYKcmyk(78.5%, 69.4%, 0%, 52.5%)
CIE-LABlab(19.73, 27.37, -48.99)
CIE-LCHlch(19.73, 56.11, 299.19°)
OKLaboklab(31.91% 0.0001 -0.1417)
OKLCHoklch(31.91% 0.142 270.1)
XYZxyz(4.5376, 2.9227, 18.4105)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2579 #796E1A
analogous
#1A5579 #1A2579 #3F1A79
triadic
#1A2579 #791A25 #25791A
tetradic
#1A2579 #791A55 #796E1A #1A793F
square
#1A2579 #791A55 #796E1A #1A793F
split-complementary
#1A2579 #793F1A #55791A
monochromatic
#050819 #0F1647 #1A2579 #2534AB #394BD4

Accessibility & contrast

On white

13.25
#1A2579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2579
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2579#FFFFFF#000000##FFFFFF
##1A25791.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#002B77
Tritanopia (blue-blind)
#003C4B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2579;
/* rgb */ color: rgb(26, 37, 121);
/* oklch */ color: oklch(31.9% 0.142 270.1);
Tailwind
colors: {
  custom: {
    50: '#675fa1',
    500: '#1a2579',
    950: '#000000',
  },
}
SCSS
$custom: #1a2579;
$custom-light: #675fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2579",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 121
  },
  "hsl": {
    "h": 233.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31905,
    "c": 0.14174,
    "h": 270.1
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#1A2579
secondary
#ADA141
accent
#D440E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2579

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

Preview Lab → · Contrast checker → · Palette generator →

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