#1A279F#1A279F

#1A279F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.189 H 268.4°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#1A279F
RGBrgb(26, 39, 159)
HSLhsl(234, 72%, 36%)
HSVhsv(234, 84%, 62%)
CMYKcmyk(83.6%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.24, 40.14, -65.25)
CIE-LCHlch(24.24, 76.61, 301.60°)
OKLaboklab(36.35% -0.0052 -0.1891)
OKLCHoklch(36.35% 0.189 268.4)
XYZxyz(7.4074, 4.1730, 33.2092)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A279F #9F921A
analogous
#1A6A9F #1A279F #501A9F
triadic
#1A279F #9F1A27 #279F1A
tetradic
#1A279F #9F1A6A #9F921A #1A9F50
square
#1A279F #9F1A6A #9F921A #1A9F50
split-complementary
#1A279F #9F501A #6A9F1A
monochromatic
#090D36 #111A6A #1A279F #2334D4 #515FE3

Accessibility & contrast

On white

11.45
#1A279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#1A279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A279F
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A279F#FFFFFF#000000##FFFFFF
##1A279F1.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A2
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a279f;
/* rgb */ color: rgb(26, 39, 159);
/* oklch */ color: oklch(36.4% 0.189 268.4);
Tailwind
colors: {
  custom: {
    50: '#7262bd',
    500: '#1a279f',
    950: '#000000',
  },
}
SCSS
$custom: #1a279f;
$custom-light: #7262bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a279f",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 234.135,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.18918,
    "h": 268.4
  },
  "luminance": 0.04174
}

Semantic roles & 50–950 ramp

primary
#1A279F
secondary
#C5BA50
accent
#DD39EF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#090512
muted
#7B7981

Preview Lab

Preview with #1A279F

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

Preview Lab → · Contrast checker → · Palette generator →

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