#1A295C#1A295C

#1A295C is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.093 H 268.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#1A295C
RGBrgb(26, 41, 92)
HSLhsl(226, 56%, 23%)
HSVhsv(226, 72%, 36%)
CMYKcmyk(71.7%, 55.4%, 0%, 63.9%)
CIE-LABlab(18.27, 12.90, -32.50)
CIE-LCHlch(18.27, 34.97, 291.65°)
OKLaboklab(30.01% -0.0032 -0.0933)
OKLCHoklch(30.01% 0.093 268)
XYZxyz(3.1500, 2.5779, 10.4547)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A295C #5C4D1A
analogous
#1A4A5C #1A295C #2C1A5C
triadic
#1A295C #5C1A29 #295C1A
tetradic
#1A295C #5C1A4A #5C4D1A #1A5C2C
square
#1A295C #5C1A4A #5C4D1A #1A5C2C
split-complementary
#1A295C #5C2C1A #4A5C1A
monochromatic
#070B18 #0D142C #1A295C #273E8C #3554BB

Accessibility & contrast

On white

13.86
#1A295C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A295C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A295C
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A295C#FFFFFF#000000##FFFFFF
##1A295C1.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A305E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a295c;
/* rgb */ color: rgb(26, 41, 92);
/* oklch */ color: oklch(30.0% 0.093 268.0);
Tailwind
colors: {
  custom: {
    50: '#5f628a',
    500: '#1a295c',
    950: '#000000',
  },
}
SCSS
$custom: #1a295c;
$custom-light: #5f628a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a295c",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 226.364,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30014,
    "c": 0.09336,
    "h": 268
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#1A295C
secondary
#927F40
accent
#BD49DF
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A295C

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

Preview Lab → · Contrast checker → · Palette generator →

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