#1A294C#1A294C

#1A294C is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.067 H 265.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#1A294C
RGBrgb(26, 41, 76)
HSLhsl(222, 49%, 20%)
HSVhsv(222, 66%, 30%)
CMYKcmyk(65.8%, 46.1%, 0%, 70.2%)
CIE-LABlab(17.12, 6.40, -23.60)
CIE-LCHlch(17.12, 24.45, 285.18°)
OKLaboklab(28.77% -0.0059 -0.0671)
OKLCHoklch(28.77% 0.067 265)
XYZxyz(2.5230, 2.3271, 7.1523)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A294C #4C3D1A
analogous
#1A424C #1A294C #241A4C
triadic
#1A294C #4C1A29 #294C1A
tetradic
#1A294C #4C1A42 #4C3D1A #1A4C24
square
#1A294C #4C1A42 #4C3D1A #1A4C24
split-complementary
#1A294C #4C241A #424C1A
monochromatic
#080C17 #0A101E #1A294C #2A427A #395AA7

Accessibility & contrast

On white

14.33
#1A294C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A294C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A294C
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A294C#FFFFFF#000000##FFFFFF
##1A294C1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2D4D
Deuteranopia (green-blind)
#13284B
Tritanopia (blue-blind)
#003136
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a294c;
/* rgb */ color: rgb(26, 41, 76);
/* oklch */ color: oklch(28.8% 0.067 265.0);
Tailwind
colors: {
  custom: {
    50: '#5c627e',
    500: '#1a294c',
    950: '#000000',
  },
}
SCSS
$custom: #1a294c;
$custom-light: #5c627e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a294c",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 76
  },
  "hsl": {
    "h": 222,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.28767,
    "c": 0.06739,
    "h": 265
  },
  "luminance": 0.02327
}

Semantic roles & 50–950 ramp

primary
#1A294C
secondary
#826E40
accent
#AF4FD9
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A294C

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

Preview Lab → · Contrast checker → · Palette generator →

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