#1A285A#1A285A

#1A285A is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.092 H 268.5°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#1A285A
RGBrgb(26, 40, 90)
HSLhsl(227, 55%, 23%)
HSVhsv(227, 71%, 35%)
CMYKcmyk(71.1%, 55.6%, 0%, 64.7%)
CIE-LABlab(17.81, 12.82, -31.92)
CIE-LCHlch(17.81, 34.39, 291.88°)
OKLaboklab(29.62% -0.0024 -0.0916)
OKLCHoklch(29.62% 0.092 268.5)
XYZxyz(3.0296, 2.4751, 9.9890)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A285A #5A4C1A
analogous
#1A485A #1A285A #2C1A5A
triadic
#1A285A #5A1A28 #285A1A
tetradic
#1A285A #5A1A48 #5A4C1A #1A5A2C
square
#1A285A #5A1A48 #5A4C1A #1A5A2C
split-complementary
#1A285A #5A2C1A #485A1A
monochromatic
#070B18 #0C132B #1A285A #283D89 #3552B9

Accessibility & contrast

On white

14.05
#1A285A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1A285A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A285A
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A285A#FFFFFF#000000##FFFFFF
##1A285A1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2F5C
Deuteranopia (green-blind)
#002959
Tritanopia (blue-blind)
#00343C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a285a;
/* rgb */ color: rgb(26, 40, 90);
/* oklch */ color: oklch(29.6% 0.092 268.5);
Tailwind
colors: {
  custom: {
    50: '#5f6189',
    500: '#1a285a',
    950: '#000000',
  },
}
SCSS
$custom: #1a285a;
$custom-light: #5f6189;
$custom-dark: #000000;
JSON
{
  "hex": "#1a285a",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 90
  },
  "hsl": {
    "h": 226.875,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29615,
    "c": 0.09163,
    "h": 268.5
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#1A285A
secondary
#907E40
accent
#BE49DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #1A285A

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

Preview Lab → · Contrast checker → · Palette generator →

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