#1A2F79#1A2F79

#1A2F79 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.129 H 267.0°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#1A2F79
RGBrgb(26, 47, 121)
HSLhsl(227, 65%, 29%)
HSVhsv(227, 79%, 47%)
CMYKcmyk(78.5%, 61.2%, 0%, 52.5%)
CIE-LABlab(22.42, 20.40, -44.59)
CIE-LCHlch(22.42, 49.04, 294.58°)
OKLaboklab(33.89% -0.0067 -0.1288)
OKLCHoklch(33.89% 0.129 267)
XYZxyz(4.8925, 3.6326, 18.5288)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F79 #79641A
analogous
#1A5F79 #1A2F79 #351A79
triadic
#1A2F79 #791A2F #2F791A
tetradic
#1A2F79 #791A5F #79641A #1A7935
square
#1A2F79 #791A5F #79641A #1A7935
split-complementary
#1A2F79 #79351A #5F791A
monochromatic
#050A19 #0F1B47 #1A2F79 #2543AB #395BD4

Accessibility & contrast

On white

12.16
#1A2F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F79
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F79#FFFFFF#000000##FFFFFF
##1A2F791.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7B
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2f79;
/* rgb */ color: rgb(26, 47, 121);
/* oklch */ color: oklch(33.9% 0.129 267.0);
Tailwind
colors: {
  custom: {
    50: '#6667a0',
    500: '#1a2f79',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f79;
$custom-light: #6667a0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f79",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 121
  },
  "hsl": {
    "h": 226.737,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33887,
    "c": 0.12893,
    "h": 267
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

primary
#1A2F79
secondary
#AD9641
accent
#C340E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #1A2F79

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

Preview Lab → · Contrast checker → · Palette generator →

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