#1A2D74#1A2D74

#1A2D74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.0% C 0.124 H 267.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#1A2D74
RGBrgb(26, 45, 116)
HSLhsl(227, 63%, 28%)
HSVhsv(227, 78%, 45%)
CMYKcmyk(77.6%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.42, 19.80, -43.03)
CIE-LCHlch(21.42, 47.36, 294.71°)
OKLaboklab(33.01% -0.0053 -0.1242)
OKLCHoklch(33.01% 0.124 267.6)
XYZxyz(4.5157, 3.3569, 16.9296)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D74 #74611A
analogous
#1A5A74 #1A2D74 #341A74
triadic
#1A2D74 #741A2D #2D741A
tetradic
#1A2D74 #741A5A #74611A #1A7434
square
#1A2D74 #741A5A #74611A #1A7434
split-complementary
#1A2D74 #74341A #5A741A
monochromatic
#060A19 #0F1A42 #1A2D74 #2540A6 #3657D2

Accessibility & contrast

On white

12.56
#1A2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D74
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D74#FFFFFF#000000##FFFFFF
##1A2D741.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2d74;
/* rgb */ color: rgb(26, 45, 116);
/* oklch */ color: oklch(33.0% 0.124 267.6);
Tailwind
colors: {
  custom: {
    50: '#65659d',
    500: '#1a2d74',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d74;
$custom-light: #65659d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d74",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 227.333,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.33007,
    "c": 0.1243,
    "h": 267.6
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#1A2D74
secondary
#A99341
accent
#C441E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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