#1A285D#1A285D

#1A285D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.096 H 268.8°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#1A285D
RGBrgb(26, 40, 93)
HSLhsl(227, 56%, 23%)
HSVhsv(227, 72%, 36%)
CMYKcmyk(72%, 57%, 0%, 63.5%)
CIE-LABlab(18.04, 14.04, -33.53)
CIE-LCHlch(18.04, 36.35, 292.73°)
OKLaboklab(29.87% -0.0021 -0.0963)
OKLCHoklch(29.87% 0.096 268.8)
XYZxyz(3.1599, 2.5272, 10.6751)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A285D #5D4F1A
analogous
#1A495D #1A285D #2D1A5D
triadic
#1A285D #5D1A28 #285D1A
tetradic
#1A285D #5D1A49 #5D4F1A #1A5D2D
square
#1A285D #5D1A49 #5D4F1A #1A5D2D
split-complementary
#1A285D #5D2D1A #495D1A
monochromatic
#070A18 #0D132D #1A285D #273D8D #3551BD

Accessibility & contrast

On white

13.95
#1A285D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A285D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A285D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A285D#FFFFFF#000000##FFFFFF
##1A285D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052F5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00353E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a285d;
/* rgb */ color: rgb(26, 40, 93);
/* oklch */ color: oklch(29.9% 0.096 268.8);
Tailwind
colors: {
  custom: {
    50: '#60618b',
    500: '#1a285d',
    950: '#000000',
  },
}
SCSS
$custom: #1a285d;
$custom-light: #60618b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a285d",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 93
  },
  "hsl": {
    "h": 227.463,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29869,
    "c": 0.09637,
    "h": 268.8
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#1A285D
secondary
#938240
accent
#C048E0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A285D

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

Preview Lab → · Contrast checker → · Palette generator →

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