#1A248E#1A248E

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

Color values

HEX#1A248E
RGBrgb(26, 36, 142)
HSLhsl(235, 69%, 33%)
HSVhsv(235, 82%, 56%)
CMYKcmyk(81.7%, 74.6%, 0%, 44.3%)
CIE-LABlab(21.70, 35.88, -58.97)
CIE-LCHlch(21.70, 69.03, 301.32°)
OKLaboklab(33.99% -0.0018 -0.1708)
OKLCHoklch(33.99% 0.171 269.4)
XYZxyz(5.9377, 3.4337, 25.9358)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A248E #8E841A
analogous
#1A5E8E #1A248E #4A1A8E
triadic
#1A248E #8E1A24 #248E1A
tetradic
#1A248E #8E1A5E #8E841A #1A8E4A
square
#1A248E #8E1A5E #8E841A #1A8E4A
split-complementary
#1A248E #8E4A1A #5E8E1A
monochromatic
#070A27 #11175A #1A248E #2331C2 #4552DD

Accessibility & contrast

On white

12.45
#1A248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A248E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A248E#FFFFFF#000000##FFFFFF
##1A248E1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#002E8C
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a248e;
/* rgb */ color: rgb(26, 36, 142);
/* oklch */ color: oklch(34.0% 0.171 269.4);
Tailwind
colors: {
  custom: {
    50: '#6d5fb0',
    500: '#1a248e',
    950: '#000000',
  },
}
SCSS
$custom: #1a248e;
$custom-light: #6d5fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a248e",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 234.828,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.17085,
    "h": 269.4
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#1A248E
secondary
#BEB445
accent
#DD3CEC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A248E

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

Preview Lab → · Contrast checker → · Palette generator →

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