#1A249F#1A249F

#1A249F is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.192 H 268.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#1A249F
RGBrgb(26, 36, 159)
HSLhsl(235, 72%, 36%)
HSVhsv(235, 84%, 62%)
CMYKcmyk(83.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(23.62, 41.89, -66.28)
CIE-LCHlch(23.62, 78.41, 302.30°)
OKLaboklab(35.92% -0.0043 -0.192)
OKLCHoklch(35.92% 0.192 268.7)
XYZxyz(7.3127, 3.9837, 33.1777)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A249F #9F951A
analogous
#1A679F #1A249F #531A9F
triadic
#1A249F #9F1A24 #249F1A
tetradic
#1A249F #9F1A67 #9F951A #1A9F53
square
#1A249F #9F1A67 #9F951A #1A9F53
split-complementary
#1A249F #9F531A #679F1A
monochromatic
#090C36 #11186A #1A249F #2330D4 #515CE3

Accessibility & contrast

On white

11.69
#1A249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#1A249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A249F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A249F#FFFFFF#000000##FFFFFF
##1A249F1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1a249f;
/* rgb */ color: rgb(26, 36, 159);
/* oklch */ color: oklch(35.9% 0.192 268.7);
Tailwind
colors: {
  custom: {
    50: '#7260bd',
    500: '#1a249f',
    950: '#000000',
  },
}
SCSS
$custom: #1a249f;
$custom-light: #7260bd;
$custom-dark: #000000;
JSON
{
  "hex": "#1a249f",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 235.489,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35917,
    "c": 0.1921,
    "h": 268.7
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

primary
#1A249F
secondary
#C5BC50
accent
#E139EF
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #1A249F

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

Preview Lab → · Contrast checker → · Palette generator →

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