#1A2C74#1A2C74

#1A2C74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.126 H 267.9°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2C74
RGBrgb(26, 44, 116)
HSLhsl(228, 63%, 28%)
HSVhsv(228, 78%, 45%)
CMYKcmyk(77.6%, 62.1%, 0%, 54.5%)
CIE-LABlab(21.14, 20.51, -43.49)
CIE-LCHlch(21.14, 48.08, 295.25°)
OKLaboklab(32.8% -0.0045 -0.1256)
OKLCHoklch(32.8% 0.126 267.9)
XYZxyz(4.4780, 3.2814, 16.9170)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C74 #74621A
analogous
#1A5974 #1A2C74 #351A74
triadic
#1A2C74 #741A2C #2C741A
tetradic
#1A2C74 #741A59 #74621A #1A7435
square
#1A2C74 #741A59 #74621A #1A7435
split-complementary
#1A2C74 #74351A #59741A
monochromatic
#060919 #0F1942 #1A2C74 #253FA6 #3656D2

Accessibility & contrast

On white

12.68
#1A2C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C74
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C74#FFFFFF#000000##FFFFFF
##1A2C741.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2c74;
/* rgb */ color: rgb(26, 44, 116);
/* oklch */ color: oklch(32.8% 0.126 267.9);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#1a2c74',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c74;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c74",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 116
  },
  "hsl": {
    "h": 228,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.12564,
    "h": 267.9
  },
  "luminance": 0.03282
}

Semantic roles & 50–950 ramp

primary
#1A2C74
secondary
#A99441
accent
#C541E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2C74

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

Preview Lab → · Contrast checker → · Palette generator →

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