#1A2971#1A2971

#1A2971 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 269.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#1A2971
RGBrgb(26, 41, 113)
HSLhsl(230, 63%, 27%)
HSVhsv(230, 77%, 44%)
CMYKcmyk(77%, 63.7%, 0%, 55.7%)
CIE-LABlab(20.03, 21.43, -43.36)
CIE-LCHlch(20.03, 48.37, 296.30°)
OKLaboklab(31.89% -0.0022 -0.1252)
OKLCHoklch(31.89% 0.125 269)
XYZxyz(4.1985, 2.9973, 15.9768)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2971 #71621A
analogous
#1A5571 #1A2971 #361A71
triadic
#1A2971 #711A29 #29711A
tetradic
#1A2971 #711A55 #71621A #1A7136
square
#1A2971 #711A55 #71621A #1A7136
split-complementary
#1A2971 #71361A #55711A
monochromatic
#060919 #0F173F #1A2971 #253BA3 #3550D0

Accessibility & contrast

On white

13.13
#1A2971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2971
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2971#FFFFFF#000000##FFFFFF
##1A29711.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2971;
/* rgb */ color: rgb(26, 41, 113);
/* oklch */ color: oklch(31.9% 0.125 269.0);
Tailwind
colors: {
  custom: {
    50: '#65629a',
    500: '#1a2971',
    950: '#000000',
  },
}
SCSS
$custom: #1a2971;
$custom-light: #65629a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2971",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 229.655,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.12525,
    "h": 269
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#1A2971
secondary
#A69541
accent
#C942E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2971

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

Preview Lab → · Contrast checker → · Palette generator →

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