#1A244F#1A244F

#1A244F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.080 H 270.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#1A244F
RGBrgb(26, 36, 79)
HSLhsl(229, 50%, 21%)
HSVhsv(229, 67%, 31%)
CMYKcmyk(67.1%, 54.4%, 0%, 69%)
CIE-LABlab(15.73, 11.31, -27.87)
CIE-LCHlch(15.73, 30.07, 292.09°)
OKLaboklab(27.77% 0.0008 -0.0797)
OKLCHoklch(27.77% 0.08 270.6)
XYZxyz(2.4677, 2.0457, 7.6604)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A244F #4F451A
analogous
#1A3E4F #1A244F #2A1A4F
triadic
#1A244F #4F1A24 #244F1A
tetradic
#1A244F #4F1A3E #4F451A #1A4F2A
square
#1A244F #4F1A3E #4F451A #1A4F2A
split-complementary
#1A244F #4F2A1A #3E4F1A
monochromatic
#080A17 #0B0F21 #1A244F #29397D #384EAB

Accessibility & contrast

On white

14.90
#1A244F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#1A244F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A244F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A244F#FFFFFF#000000##FFFFFF
##1A244F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#04254E
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #1a244f;
/* rgb */ color: rgb(26, 36, 79);
/* oklch */ color: oklch(27.8% 0.080 270.6);
Tailwind
colors: {
  custom: {
    50: '#5d5e81',
    500: '#1a244f',
    950: '#000000',
  },
}
SCSS
$custom: #1a244f;
$custom-light: #5d5e81;
$custom-dark: #000000;
JSON
{
  "hex": "#1a244f",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 79
  },
  "hsl": {
    "h": 228.679,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.2777,
    "c": 0.07974,
    "h": 270.6
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#1A244F
secondary
#857840
accent
#C04EDA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #1A244F

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

Preview Lab → · Contrast checker → · Palette generator →

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