#1A2279#1A2279

#1A2279 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.145 H 270.7°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#1A2279
RGBrgb(26, 34, 121)
HSLhsl(235, 65%, 29%)
HSVhsv(235, 79%, 47%)
CMYKcmyk(78.5%, 71.9%, 0%, 52.5%)
CIE-LABlab(18.99, 29.38, -50.21)
CIE-LCHlch(18.99, 58.17, 300.33°)
OKLaboklab(31.37% 0.0019 -0.1453)
OKLCHoklch(31.37% 0.145 270.7)
XYZxyz(4.4480, 2.7437, 18.3806)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2279 #79711A
analogous
#1A5279 #1A2279 #421A79
triadic
#1A2279 #791A22 #22791A
tetradic
#1A2279 #791A52 #79711A #1A7942
square
#1A2279 #791A52 #79711A #1A7942
split-complementary
#1A2279 #79421A #52791A
monochromatic
#050719 #0F1447 #1A2279 #2530AB #3946D4

Accessibility & contrast

On white

13.56
#1A2279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A2279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2279
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2279#FFFFFF#000000##FFFFFF
##1A22791.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2279;
/* rgb */ color: rgb(26, 34, 121);
/* oklch */ color: oklch(31.4% 0.145 270.7);
Tailwind
colors: {
  custom: {
    50: '#685da1',
    500: '#1a2279',
    950: '#000000',
  },
}
SCSS
$custom: #1a2279;
$custom-light: #685da1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2279",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 121
  },
  "hsl": {
    "h": 234.947,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.31365,
    "c": 0.14533,
    "h": 270.7
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#1A2279
secondary
#ADA441
accent
#DA40E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A2279

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

Preview Lab → · Contrast checker → · Palette generator →

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