#1A294F#1A294F

#1A294F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.072 H 265.9°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#1A294F
RGBrgb(26, 41, 79)
HSLhsl(223, 50%, 21%)
HSVhsv(223, 67%, 31%)
CMYKcmyk(67.1%, 48.1%, 0%, 69%)
CIE-LABlab(17.32, 7.61, -25.31)
CIE-LCHlch(17.32, 26.43, 286.73°)
OKLaboklab(28.99% -0.0052 -0.0722)
OKLCHoklch(28.99% 0.072 265.9)
XYZxyz(2.6297, 2.3698, 7.7144)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A294F #4F401A
analogous
#1A434F #1A294F #251A4F
triadic
#1A294F #4F1A29 #294F1A
tetradic
#1A294F #4F1A43 #4F401A #1A4F25
square
#1A294F #4F1A43 #4F401A #1A4F25
split-complementary
#1A294F #4F251A #434F1A
monochromatic
#080C17 #0B1121 #1A294F #29417D #3859AB

Accessibility & contrast

On white

14.25
#1A294F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A294F
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A294F#FFFFFF#000000##FFFFFF
##1A294F1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182D50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003238
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a294f;
/* rgb */ color: rgb(26, 41, 79);
/* oklch */ color: oklch(29.0% 0.072 265.9);
Tailwind
colors: {
  custom: {
    50: '#5c6280',
    500: '#1a294f',
    950: '#000000',
  },
}
SCSS
$custom: #1a294f;
$custom-light: #5c6280;
$custom-dark: #000000;
JSON
{
  "hex": "#1a294f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 79
  },
  "hsl": {
    "h": 223.019,
    "s": 50.476,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28987,
    "c": 0.07235,
    "h": 265.9
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#1A294F
secondary
#857140
accent
#B24EDA
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #1A294F

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

Preview Lab → · Contrast checker → · Palette generator →

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