#1A2979#1A2979

#1A2979 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.7% C 0.137 H 269.0°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#1A2979
RGBrgb(26, 41, 121)
HSLhsl(231, 65%, 29%)
HSVhsv(231, 79%, 47%)
CMYKcmyk(78.5%, 66.1%, 0%, 52.5%)
CIE-LABlab(20.77, 24.62, -47.28)
CIE-LCHlch(20.77, 53.31, 297.50°)
OKLaboklab(32.67% -0.0024 -0.1367)
OKLCHoklch(32.67% 0.137 269)
XYZxyz(4.6689, 3.1855, 18.4542)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2979 #796A1A
analogous
#1A5979 #1A2979 #3B1A79
triadic
#1A2979 #791A29 #29791A
tetradic
#1A2979 #791A59 #796A1A #1A793B
square
#1A2979 #791A59 #796A1A #1A793B
split-complementary
#1A2979 #793B1A #59791A
monochromatic
#050919 #0F1847 #1A2979 #253AAB #3952D4

Accessibility & contrast

On white

12.83
#1A2979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2979
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2979#FFFFFF#000000##FFFFFF
##1A29791.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2979;
/* rgb */ color: rgb(26, 41, 121);
/* oklch */ color: oklch(32.7% 0.137 269.0);
Tailwind
colors: {
  custom: {
    50: '#6762a1',
    500: '#1a2979',
    950: '#000000',
  },
}
SCSS
$custom: #1a2979;
$custom-light: #6762a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2979",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 121
  },
  "hsl": {
    "h": 230.526,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32667,
    "c": 0.13674,
    "h": 269
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#1A2979
secondary
#AD9C41
accent
#CD40E8
background
#F6F5FA
surface
#EBEAF3
border
#C6C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2979

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

Preview Lab → · Contrast checker → · Palette generator →

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