#1A2E79#1A2E79

#1A2E79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.130 H 267.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#1A2E79
RGBrgb(26, 46, 121)
HSLhsl(227, 65%, 29%)
HSVhsv(227, 79%, 47%)
CMYKcmyk(78.5%, 62%, 0%, 52.5%)
CIE-LABlab(22.14, 21.11, -45.05)
CIE-LCHlch(22.14, 49.75, 295.11°)
OKLaboklab(33.68% -0.006 -0.1301)
OKLCHoklch(33.68% 0.13 267.4)
XYZxyz(4.8530, 3.5535, 18.5156)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E79 #79651A
analogous
#1A5E79 #1A2E79 #361A79
triadic
#1A2E79 #791A2E #2E791A
tetradic
#1A2E79 #791A5E #79651A #1A7936
square
#1A2E79 #791A5E #79651A #1A7936
split-complementary
#1A2E79 #79361A #5E791A
monochromatic
#050A19 #0F1B47 #1A2E79 #2541AB #395AD4

Accessibility & contrast

On white

12.27
#1A2E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#1A2E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E79
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E79#FFFFFF#000000##FFFFFF
##1A2E791.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1a2e79;
/* rgb */ color: rgb(26, 46, 121);
/* oklch */ color: oklch(33.7% 0.130 267.4);
Tailwind
colors: {
  custom: {
    50: '#6766a0',
    500: '#1a2e79',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e79;
$custom-light: #6766a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e79",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 227.368,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33678,
    "c": 0.13026,
    "h": 267.4
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#1A2E79
secondary
#AD9741
accent
#C440E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050F
muted
#7A7A7E

Preview Lab

Preview with #1A2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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