#1A248D#1A248D

#1A248D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.170 H 269.4°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#1A248D
RGBrgb(26, 36, 141)
HSLhsl(235, 69%, 33%)
HSVhsv(235, 82%, 55%)
CMYKcmyk(81.6%, 74.5%, 0%, 44.7%)
CIE-LABlab(21.59, 35.52, -58.53)
CIE-LCHlch(21.59, 68.46, 301.25°)
OKLaboklab(33.88% -0.0016 -0.1696)
OKLCHoklch(33.88% 0.17 269.4)
XYZxyz(5.8629, 3.4038, 25.5421)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A248D #8D831A
analogous
#1A5D8D #1A248D #4A1A8D
triadic
#1A248D #8D1A24 #248D1A
tetradic
#1A248D #8D1A5D #8D831A #1A8D4A
square
#1A248D #8D1A5D #8D831A #1A8D4A
split-complementary
#1A248D #8D4A1A #5D8D1A
monochromatic
#070A26 #101759 #1A248D #2431C1 #4552DD

Accessibility & contrast

On white

12.49
#1A248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A248D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A248D#FFFFFF#000000##FFFFFF
##1A248D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a248d;
/* rgb */ color: rgb(26, 36, 141);
/* oklch */ color: oklch(33.9% 0.170 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d5faf',
    500: '#1a248d',
    950: '#000000',
  },
}
SCSS
$custom: #1a248d;
$custom-light: #6d5faf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a248d",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 234.783,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3388,
    "c": 0.16957,
    "h": 269.4
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#1A248D
secondary
#BEB345
accent
#DC3CEC
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A248D

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

Preview Lab → · Contrast checker → · Palette generator →

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