#1A247D#1A247D

#1A247D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.148 H 270.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1A247D
RGBrgb(26, 36, 125)
HSLhsl(234, 66%, 30%)
HSVhsv(234, 79%, 49%)
CMYKcmyk(79.2%, 71.2%, 0%, 51%)
CIE-LABlab(19.89, 29.57, -51.28)
CIE-LCHlch(19.89, 59.19, 299.97°)
OKLaboklab(32.14% 0.0003 -0.1484)
OKLCHoklch(32.14% 0.148 270.1)
XYZxyz(4.7573, 2.9615, 19.7190)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A247D #7D731A
analogous
#1A567D #1A247D #411A7D
triadic
#1A247D #7D1A24 #247D1A
tetradic
#1A247D #7D1A56 #7D731A #1A7D41
square
#1A247D #7D1A56 #7D731A #1A7D41
split-complementary
#1A247D #7D411A #567D1A
monochromatic
#050719 #0F154A #1A247D #2533B0 #3B4BD6

Accessibility & contrast

On white

13.19
#1A247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A247D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A247D#FFFFFF#000000##FFFFFF
##1A247D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a247d;
/* rgb */ color: rgb(26, 36, 125);
/* oklch */ color: oklch(32.1% 0.148 270.1);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1a247d',
    950: '#000000',
  },
}
SCSS
$custom: #1a247d;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a247d",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 233.939,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32143,
    "c": 0.14843,
    "h": 270.1
  },
  "luminance": 0.02962
}

Semantic roles & 50–950 ramp

primary
#1A247D
secondary
#B1A642
accent
#D73FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A247D

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

Preview Lab → · Contrast checker → · Palette generator →

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