#1A2679#1A2679

#1A2679 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.141 H 269.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1A2679
RGBrgb(26, 38, 121)
HSLhsl(232, 65%, 29%)
HSVhsv(232, 79%, 47%)
CMYKcmyk(78.5%, 68.6%, 0%, 52.5%)
CIE-LABlab(19.99, 26.69, -48.57)
CIE-LCHlch(19.99, 55.42, 298.79°)
OKLaboklab(32.09% -0.0005 -0.1405)
OKLCHoklch(32.09% 0.141 269.8)
XYZxyz(4.5691, 2.9858, 18.4210)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2679 #796D1A
analogous
#1A5679 #1A2679 #3E1A79
triadic
#1A2679 #791A26 #26791A
tetradic
#1A2679 #791A56 #796D1A #1A793E
square
#1A2679 #791A56 #796D1A #1A793E
split-complementary
#1A2679 #793E1A #56791A
monochromatic
#050819 #0F1647 #1A2679 #2536AB #394DD4

Accessibility & contrast

On white

13.15
#1A2679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A2679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2679
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2679#FFFFFF#000000##FFFFFF
##1A26791.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2679;
/* rgb */ color: rgb(26, 38, 121);
/* oklch */ color: oklch(32.1% 0.141 269.8);
Tailwind
colors: {
  custom: {
    50: '#6760a1',
    500: '#1a2679',
    950: '#000000',
  },
}
SCSS
$custom: #1a2679;
$custom-light: #6760a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2679",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 232.421,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32092,
    "c": 0.14051,
    "h": 269.8
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#1A2679
secondary
#ADA041
accent
#D240E8
background
#F6F5FA
surface
#EBE9F3
border
#C6C5CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2679

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

Preview Lab → · Contrast checker → · Palette generator →

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