#1A299F#1A299F

#1A299F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.187 H 268.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#1A299F
RGBrgb(26, 41, 159)
HSLhsl(233, 72%, 36%)
HSVhsv(233, 84%, 62%)
CMYKcmyk(83.6%, 74.2%, 0%, 37.6%)
CIE-LABlab(24.66, 38.94, -64.55)
CIE-LCHlch(24.66, 75.38, 301.10°)
OKLaboklab(36.66% -0.0059 -0.1871)
OKLCHoklch(36.66% 0.187 268.2)
XYZxyz(7.4748, 4.3078, 33.2317)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A299F #9F901A
analogous
#1A6C9F #1A299F #4E1A9F
triadic
#1A299F #9F1A29 #299F1A
tetradic
#1A299F #9F1A6C #9F901A #1A9F4E
square
#1A299F #9F1A6C #9F901A #1A9F4E
split-complementary
#1A299F #9F4E1A #6C9F1A
monochromatic
#090E36 #111B6A #1A299F #2337D4 #5161E3

Accessibility & contrast

On white

11.28
#1A299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A299F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A299F#FFFFFF#000000##FFFFFF
##1A299F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #1a299f;
/* rgb */ color: rgb(26, 41, 159);
/* oklch */ color: oklch(36.7% 0.187 268.2);
Tailwind
colors: {
  custom: {
    50: '#7164bd',
    500: '#1a299f',
    950: '#000000',
  },
}
SCSS
$custom: #1a299f;
$custom-light: #7164bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a299f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 233.233,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36662,
    "c": 0.18716,
    "h": 268.2
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#1A299F
secondary
#C5B850
accent
#DA39EF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #1A299F

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

Preview Lab → · Contrast checker → · Palette generator →

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