#1A295F#1A295F

#1A295F is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.098 H 268.3°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#1A295F
RGBrgb(26, 41, 95)
HSLhsl(227, 57%, 24%)
HSVhsv(227, 73%, 37%)
CMYKcmyk(72.6%, 56.8%, 0%, 62.7%)
CIE-LABlab(18.50, 14.13, -34.11)
CIE-LCHlch(18.50, 36.92, 292.50°)
OKLaboklab(30.27% -0.0029 -0.098)
OKLCHoklch(30.27% 0.098 268.3)
XYZxyz(3.2838, 2.6314, 11.1591)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A295F #5F501A
analogous
#1A4B5F #1A295F #2D1A5F
triadic
#1A295F #5F1A29 #295F1A
tetradic
#1A295F #5F1A4B #5F501A #1A5F2D
square
#1A295F #5F1A4B #5F501A #1A5F2D
split-complementary
#1A295F #5F2D1A #4B5F1A
monochromatic
#070A18 #0D142F #1A295F #273E8F #3452BF

Accessibility & contrast

On white

13.76
#1A295F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A295F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A295F
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A295F#FFFFFF#000000##FFFFFF
##1A295F1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a295f;
/* rgb */ color: rgb(26, 41, 95);
/* oklch */ color: oklch(30.3% 0.098 268.3);
Tailwind
colors: {
  custom: {
    50: '#60628d',
    500: '#1a295f',
    950: '#000000',
  },
}
SCSS
$custom: #1a295f;
$custom-light: #60628d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a295f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 226.957,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30267,
    "c": 0.09807,
    "h": 268.3
  },
  "luminance": 0.02632
}

Semantic roles & 50–950 ramp

primary
#1A295F
secondary
#958240
accent
#BF48E0
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A295F

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

Preview Lab → · Contrast checker → · Palette generator →

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