#1A295E#1A295E

#1A295E is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.097 H 268.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#1A295E
RGBrgb(26, 41, 94)
HSLhsl(227, 57%, 24%)
HSVhsv(227, 72%, 37%)
CMYKcmyk(72.3%, 56.4%, 0%, 63.1%)
CIE-LABlab(18.42, 13.72, -33.57)
CIE-LCHlch(18.42, 36.27, 292.23°)
OKLaboklab(30.18% -0.003 -0.0965)
OKLCHoklch(30.18% 0.097 268.2)
XYZxyz(3.2386, 2.6133, 10.9213)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A295E #5E4F1A
analogous
#1A4B5E #1A295E #2D1A5E
triadic
#1A295E #5E1A29 #295E1A
tetradic
#1A295E #5E1A4B #5E4F1A #1A5E2D
square
#1A295E #5E1A4B #5E4F1A #1A5E2D
split-complementary
#1A295E #5E2D1A #4B5E1A
monochromatic
#070A18 #0D142E #1A295E #273E8E #3553BE

Accessibility & contrast

On white

13.79
#1A295E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A295E
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A295E#FFFFFF#000000##FFFFFF
##1A295E1.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073060
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a295e;
/* rgb */ color: rgb(26, 41, 94);
/* oklch */ color: oklch(30.2% 0.097 268.2);
Tailwind
colors: {
  custom: {
    50: '#60628c',
    500: '#1a295e',
    950: '#000000',
  },
}
SCSS
$custom: #1a295e;
$custom-light: #60628c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a295e",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 226.765,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30182,
    "c": 0.09651,
    "h": 268.2
  },
  "luminance": 0.02614
}

Semantic roles & 50–950 ramp

primary
#1A295E
secondary
#948140
accent
#BE48E0
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A295E

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

Preview Lab → · Contrast checker → · Palette generator →

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