#1A3779#1A3779

#1A3779 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.6% C 0.118 H 263.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#1A3779
RGBrgb(26, 55, 121)
HSLhsl(222, 65%, 29%)
HSVhsv(222, 79%, 47%)
CMYKcmyk(78.5%, 54.5%, 0%, 52.5%)
CIE-LABlab(24.74, 14.72, -40.82)
CIE-LCHlch(24.74, 43.40, 289.83°)
OKLaboklab(35.64% -0.0131 -0.1175)
OKLCHoklch(35.64% 0.118 263.6)
XYZxyz(5.2422, 4.3319, 18.6453)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3779 #795C1A
analogous
#1A6779 #1A3779 #2D1A79
triadic
#1A3779 #791A37 #37791A
tetradic
#1A3779 #791A67 #795C1A #1A792D
square
#1A3779 #791A67 #795C1A #1A792D
split-complementary
#1A3779 #792D1A #67791A
monochromatic
#050B19 #0F2047 #1A3779 #254EAB #3968D4

Accessibility & contrast

On white

11.25
#1A3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#1A3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3779
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3779#FFFFFF#000000##FFFFFF
##1A37791.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7B
Deuteranopia (green-blind)
#003778
Tritanopia (blue-blind)
#004752
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a3779;
/* rgb */ color: rgb(26, 55, 121);
/* oklch */ color: oklch(35.6% 0.118 263.6);
Tailwind
colors: {
  custom: {
    50: '#666da0',
    500: '#1a3779',
    950: '#000000',
  },
}
SCSS
$custom: #1a3779;
$custom-light: #666da0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3779",
  "rgb": {
    "r": 26,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 221.684,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35637,
    "c": 0.11826,
    "h": 263.6
  },
  "luminance": 0.04332
}

Semantic roles & 50–950 ramp

primary
#1A3779
secondary
#AD8C41
accent
#B540E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1A3779

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

Preview Lab → · Contrast checker → · Palette generator →

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