#1A244C#1A244C

#1A244C is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.5% C 0.075 H 270.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#1A244C
RGBrgb(26, 36, 76)
HSLhsl(228, 49%, 20%)
HSVhsv(228, 66%, 30%)
CMYKcmyk(65.8%, 52.6%, 0%, 70.2%)
CIE-LABlab(15.50, 10.10, -26.18)
CIE-LCHlch(15.50, 28.06, 291.09°)
OKLaboklab(27.53% 0.0004 -0.0748)
OKLCHoklch(27.53% 0.075 270.3)
XYZxyz(2.3609, 2.0030, 7.0983)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A244C #4C421A
analogous
#1A3D4C #1A244C #291A4C
triadic
#1A244C #4C1A24 #244C1A
tetradic
#1A244C #4C1A3D #4C421A #1A4C29
square
#1A244C #4C1A3D #4C421A #1A4C29
split-complementary
#1A244C #4C291A #3D4C1A
monochromatic
#080B17 #0A0E1E #1A244C #2A3A7A #394FA7

Accessibility & contrast

On white

14.99
#1A244C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#1A244C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A244C
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A244C#FFFFFF#000000##FFFFFF
##1A244C1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#08254B
Tritanopia (blue-blind)
#002D34
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a244c;
/* rgb */ color: rgb(26, 36, 76);
/* oklch */ color: oklch(27.5% 0.075 270.3);
Tailwind
colors: {
  custom: {
    50: '#5c5e7e',
    500: '#1a244c',
    950: '#000000',
  },
}
SCSS
$custom: #1a244c;
$custom-light: #5c5e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a244c",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 76
  },
  "hsl": {
    "h": 228,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.2753,
    "c": 0.07478,
    "h": 270.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#1A244C
secondary
#827540
accent
#BD4FD9
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A244C

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

Preview Lab → · Contrast checker → · Palette generator →

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