#1A2674#1A2674

#1A2674 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.133 H 269.9°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1A2674
RGBrgb(26, 38, 116)
HSLhsl(232, 63%, 28%)
HSVhsv(232, 78%, 45%)
CMYKcmyk(77.6%, 67.2%, 0%, 54.5%)
CIE-LABlab(19.50, 24.73, -46.16)
CIE-LCHlch(19.50, 52.37, 298.18°)
OKLaboklab(31.59% -0.0002 -0.1335)
OKLCHoklch(31.59% 0.133 269.9)
XYZxyz(4.2704, 2.8663, 16.8478)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2674 #74681A
analogous
#1A5374 #1A2674 #3B1A74
triadic
#1A2674 #741A26 #26741A
tetradic
#1A2674 #741A53 #74681A #1A743B
square
#1A2674 #741A53 #74681A #1A743B
split-complementary
#1A2674 #743B1A #53741A
monochromatic
#060819 #0F1642 #1A2674 #2536A6 #364BD2

Accessibility & contrast

On white

13.35
#1A2674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2674
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2674#FFFFFF#000000##FFFFFF
##1A26741.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2674;
/* rgb */ color: rgb(26, 38, 116);
/* oklch */ color: oklch(31.6% 0.133 269.9);
Tailwind
colors: {
  custom: {
    50: '#66609d',
    500: '#1a2674',
    950: '#000000',
  },
}
SCSS
$custom: #1a2674;
$custom-light: #66609d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2674",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 116
  },
  "hsl": {
    "h": 232,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31586,
    "c": 0.13347,
    "h": 269.9
  },
  "luminance": 0.02867
}

Semantic roles & 50–950 ramp

primary
#1A2674
secondary
#A99B41
accent
#D041E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2674

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

Preview Lab → · Contrast checker → · Palette generator →

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