#1A2574#1A2574

#1A2574 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.135 H 270.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#1A2574
RGBrgb(26, 37, 116)
HSLhsl(233, 63%, 28%)
HSVhsv(233, 78%, 45%)
CMYKcmyk(77.6%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.24, 25.42, -46.59)
CIE-LCHlch(19.24, 53.08, 298.62°)
OKLaboklab(31.39% 0.0005 -0.1347)
OKLCHoklch(31.39% 0.135 270.2)
XYZxyz(4.2389, 2.8033, 16.8373)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2574 #74691A
analogous
#1A5274 #1A2574 #3C1A74
triadic
#1A2574 #741A25 #25741A
tetradic
#1A2574 #741A52 #74691A #1A743C
square
#1A2574 #741A52 #74691A #1A743C
split-complementary
#1A2574 #743C1A #52741A
monochromatic
#060819 #0F1542 #1A2574 #2535A6 #3649D2

Accessibility & contrast

On white

13.45
#1A2574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2574
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2574#FFFFFF#000000##FFFFFF
##1A25741.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2574;
/* rgb */ color: rgb(26, 37, 116);
/* oklch */ color: oklch(31.4% 0.135 270.2);
Tailwind
colors: {
  custom: {
    50: '#665f9d',
    500: '#1a2574',
    950: '#000000',
  },
}
SCSS
$custom: #1a2574;
$custom-light: #665f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2574",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 232.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31394,
    "c": 0.13474,
    "h": 270.2
  },
  "luminance": 0.02804
}

Semantic roles & 50–950 ramp

primary
#1A2574
secondary
#A99C41
accent
#D241E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2574

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

Preview Lab → · Contrast checker → · Palette generator →

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