#1A245E#1A245E

#1A245E is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.1% C 0.104 H 271.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#1A245E
RGBrgb(26, 36, 94)
HSLhsl(231, 57%, 24%)
HSVhsv(231, 72%, 37%)
CMYKcmyk(72.3%, 61.7%, 0%, 63.1%)
CIE-LABlab(16.94, 17.38, -35.98)
CIE-LCHlch(16.94, 39.96, 295.78°)
OKLaboklab(29.07% 0.0019 -0.1036)
OKLCHoklch(29.07% 0.104 271.1)
XYZxyz(3.0766, 2.2892, 10.8672)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A245E #5E541A
analogous
#1A465E #1A245E #321A5E
triadic
#1A245E #5E1A24 #245E1A
tetradic
#1A245E #5E1A46 #5E541A #1A5E32
square
#1A245E #5E1A46 #5E541A #1A5E32
split-complementary
#1A245E #5E321A #465E1A
monochromatic
#070918 #0D122E #1A245E #27368E #3549BE

Accessibility & contrast

On white

14.40
#1A245E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A245E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A245E
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A245E#FFFFFF#000000##FFFFFF
##1A245E1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D60
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a245e;
/* rgb */ color: rgb(26, 36, 94);
/* oklch */ color: oklch(29.1% 0.104 271.1);
Tailwind
colors: {
  custom: {
    50: '#605e8c',
    500: '#1a245e',
    950: '#000000',
  },
}
SCSS
$custom: #1a245e;
$custom-light: #605e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a245e",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 94
  },
  "hsl": {
    "h": 231.176,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29066,
    "c": 0.10364,
    "h": 271.1
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#1A245E
secondary
#948840
accent
#CA48E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A245E

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

Preview Lab → · Contrast checker → · Palette generator →

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