#1A2247#1A2247

#1A2247 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.7% C 0.069 H 271.8°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#1A2247
RGBrgb(26, 34, 71)
HSLhsl(229, 46%, 19%)
HSVhsv(229, 63%, 28%)
CMYKcmyk(63.4%, 52.1%, 0%, 72.2%)
CIE-LABlab(14.50, 9.60, -24.34)
CIE-LCHlch(14.50, 26.17, 291.51°)
OKLaboklab(26.65% 0.0021 -0.0694)
OKLCHoklch(26.65% 0.069 271.8)
XYZxyz(2.1350, 1.8184, 6.1985)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2247 #473F1A
analogous
#1A3947 #1A2247 #291A47
triadic
#1A2247 #471A22 #22471A
tetradic
#1A2247 #471A39 #473F1A #1A4729
square
#1A2247 #471A39 #473F1A #1A4729
split-complementary
#1A2247 #47291A #39471A
monochromatic
#080B16 #0A0D1A #1A2247 #2A3774 #3B4DA1

Accessibility & contrast

On white

15.40
#1A2247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#1A2247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2247
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2247#FFFFFF#000000##FFFFFF
##1A22471.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112748
Deuteranopia (green-blind)
#0B2346
Tritanopia (blue-blind)
#022A31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #1a2247;
/* rgb */ color: rgb(26, 34, 71);
/* oklch */ color: oklch(26.7% 0.069 271.8);
Tailwind
colors: {
  custom: {
    50: '#5b5c7a',
    500: '#1a2247',
    950: '#000000',
  },
}
SCSS
$custom: #1a2247;
$custom-light: #5b5c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2247",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 229.333,
    "s": 46.392,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26653,
    "c": 0.06945,
    "h": 271.8
  },
  "luminance": 0.01819
}

Semantic roles & 50–950 ramp

primary
#1A2247
secondary
#7D7240
accent
#BF52D6
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #1A2247

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

Preview Lab → · Contrast checker → · Palette generator →

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