#1A274A#1A274A

#1A274A is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.1% C 0.067 H 266.8°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#1A274A
RGBrgb(26, 39, 74)
HSLhsl(224, 48%, 20%)
HSVhsv(224, 65%, 29%)
CMYKcmyk(64.9%, 47.3%, 0%, 71%)
CIE-LABlab(16.33, 7.07, -23.49)
CIE-LCHlch(16.33, 24.53, 286.76°)
OKLaboklab(28.12% -0.0038 -0.0668)
OKLCHoklch(28.12% 0.067 266.8)
XYZxyz(2.3871, 2.1649, 6.7693)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A274A #4A3D1A
analogous
#1A3F4A #1A274A #251A4A
triadic
#1A274A #4A1A27 #274A1A
tetradic
#1A274A #4A1A3F #4A3D1A #1A4A25
square
#1A274A #4A1A3F #4A3D1A #1A4A25
split-complementary
#1A274A #4A251A #3F4A1A
monochromatic
#080C17 #0A0F1D #1A274A #2A3F77 #3A57A5

Accessibility & contrast

On white

14.65
#1A274A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A274A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A274A
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A274A#FFFFFF#000000##FFFFFF
##1A274A1.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182B4B
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#002F34
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a274a;
/* rgb */ color: rgb(26, 39, 74);
/* oklch */ color: oklch(28.1% 0.067 266.8);
Tailwind
colors: {
  custom: {
    50: '#5b607d',
    500: '#1a274a',
    950: '#000000',
  },
}
SCSS
$custom: #1a274a;
$custom-light: #5b607d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a274a",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 74
  },
  "hsl": {
    "h": 223.75,
    "s": 48,
    "l": 19.608
  },
  "oklch": {
    "l": 0.28117,
    "c": 0.06695,
    "h": 266.8
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#1A274A
secondary
#806F40
accent
#B350D8
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040509
muted
#79797B

Preview Lab

Preview with #1A274A

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

Preview Lab → · Contrast checker → · Palette generator →

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