#1A285F#1A285F

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

Color values

HEX#1A285F
RGBrgb(26, 40, 95)
HSLhsl(228, 57%, 24%)
HSVhsv(228, 73%, 37%)
CMYKcmyk(72.6%, 57.9%, 0%, 62.7%)
CIE-LABlab(18.20, 14.86, -34.59)
CIE-LCHlch(18.20, 37.65, 293.25°)
OKLaboklab(30.04% -0.0019 -0.0995)
OKLCHoklch(30.04% 0.1 268.9)
XYZxyz(3.2496, 2.5631, 11.1477)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A285F #5F511A
analogous
#1A4A5F #1A285F #2E1A5F
triadic
#1A285F #5F1A28 #285F1A
tetradic
#1A285F #5F1A4A #5F511A #1A5F2E
square
#1A285F #5F1A4A #5F511A #1A5F2E
split-complementary
#1A285F #5F2E1A #4A5F1A
monochromatic
#070A18 #0D142F #1A285F #273C8F #3450BF

Accessibility & contrast

On white

13.88
#1A285F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A285F
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A285F#FFFFFF#000000##FFFFFF
##1A285F1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023061
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00353F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a285f;
/* rgb */ color: rgb(26, 40, 95);
/* oklch */ color: oklch(30.0% 0.100 268.9);
Tailwind
colors: {
  custom: {
    50: '#60618d',
    500: '#1a285f',
    950: '#000000',
  },
}
SCSS
$custom: #1a285f;
$custom-light: #60618d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a285f",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 95
  },
  "hsl": {
    "h": 227.826,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.3004,
    "c": 0.0995,
    "h": 268.9
  },
  "luminance": 0.02563
}

Semantic roles & 50–950 ramp

primary
#1A285F
secondary
#958440
accent
#C148E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A285F

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

Preview Lab → · Contrast checker → · Palette generator →

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