#1A2779#1A2779

#1A2779 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.139 H 269.5°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#1A2779
RGBrgb(26, 39, 121)
HSLhsl(232, 65%, 29%)
HSVhsv(232, 79%, 47%)
CMYKcmyk(78.5%, 67.8%, 0%, 52.5%)
CIE-LABlab(20.25, 26.00, -48.14)
CIE-LCHlch(20.25, 54.72, 298.37°)
OKLaboklab(32.28% -0.0011 -0.1393)
OKLCHoklch(32.28% 0.139 269.5)
XYZxyz(4.6015, 3.0506, 18.4318)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2779 #796C1A
analogous
#1A5779 #1A2779 #3D1A79
triadic
#1A2779 #791A27 #27791A
tetradic
#1A2779 #791A57 #796C1A #1A793D
square
#1A2779 #791A57 #796C1A #1A793D
split-complementary
#1A2779 #793D1A #57791A
monochromatic
#050819 #0F1747 #1A2779 #2537AB #394ED4

Accessibility & contrast

On white

13.04
#1A2779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2779
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2779#FFFFFF#000000##FFFFFF
##1A27791.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2779;
/* rgb */ color: rgb(26, 39, 121);
/* oklch */ color: oklch(32.3% 0.139 269.5);
Tailwind
colors: {
  custom: {
    50: '#6761a1',
    500: '#1a2779',
    950: '#000000',
  },
}
SCSS
$custom: #1a2779;
$custom-light: #6761a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2779",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 121
  },
  "hsl": {
    "h": 231.789,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32281,
    "c": 0.13926,
    "h": 269.5
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#1A2779
secondary
#AD9F41
accent
#D140E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2779

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

Preview Lab → · Contrast checker → · Palette generator →

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