#1A247E#1A247E

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

Color values

HEX#1A247E
RGBrgb(26, 36, 126)
HSLhsl(234, 66%, 30%)
HSVhsv(234, 79%, 49%)
CMYKcmyk(79.4%, 71.4%, 0%, 50.6%)
CIE-LABlab(19.99, 29.95, -51.74)
CIE-LCHlch(19.99, 59.78, 300.06°)
OKLaboklab(32.25% 0.0002 -0.1498)
OKLCHoklch(32.25% 0.15 270.1)
XYZxyz(4.8215, 2.9872, 20.0571)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A247E #7E741A
analogous
#1A567E #1A247E #421A7E
triadic
#1A247E #7E1A24 #247E1A
tetradic
#1A247E #7E1A56 #7E741A #1A7E42
square
#1A247E #7E1A56 #7E741A #1A7E42
split-complementary
#1A247E #7E421A #567E1A
monochromatic
#050719 #10164B #1A247E #2432B1 #3C4BD7

Accessibility & contrast

On white

13.14
#1A247E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A247E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A247E
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A247E#FFFFFF#000000##FFFFFF
##1A247E1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a247e;
/* rgb */ color: rgb(26, 36, 126);
/* oklch */ color: oklch(32.2% 0.150 270.1);
Tailwind
colors: {
  custom: {
    50: '#695fa4',
    500: '#1a247e',
    950: '#000000',
  },
}
SCSS
$custom: #1a247e;
$custom-light: #695fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a247e",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 234,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32249,
    "c": 0.14978,
    "h": 270.1
  },
  "luminance": 0.02988
}

Semantic roles & 50–950 ramp

primary
#1A247E
secondary
#B2A742
accent
#D83FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A247E

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

Preview Lab → · Contrast checker → · Palette generator →

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