#1A285B#1A285B

#1A285B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.093 H 268.6°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#1A285B
RGBrgb(26, 40, 91)
HSLhsl(227, 56%, 23%)
HSVhsv(227, 71%, 36%)
CMYKcmyk(71.4%, 56%, 0%, 64.3%)
CIE-LABlab(17.88, 13.23, -32.46)
CIE-LCHlch(17.88, 35.05, 292.17°)
OKLaboklab(29.7% -0.0023 -0.0932)
OKLCHoklch(29.7% 0.093 268.6)
XYZxyz(3.0725, 2.4922, 10.2146)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A285B #5B4D1A
analogous
#1A485B #1A285B #2C1A5B
triadic
#1A285B #5B1A28 #285B1A
tetradic
#1A285B #5B1A48 #5B4D1A #1A5B2C
square
#1A285B #5B1A48 #5B4D1A #1A5B2C
split-complementary
#1A285B #5B2C1A #485B1A
monochromatic
#070A18 #0C132B #1A285B #283D8B #3552BA

Accessibility & contrast

On white

14.01
#1A285B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A285B
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A285B#FFFFFF#000000##FFFFFF
##1A285B1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082F5D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a285b;
/* rgb */ color: rgb(26, 40, 91);
/* oklch */ color: oklch(29.7% 0.093 268.6);
Tailwind
colors: {
  custom: {
    50: '#5f618a',
    500: '#1a285b',
    950: '#000000',
  },
}
SCSS
$custom: #1a285b;
$custom-light: #5f618a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a285b",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 91
  },
  "hsl": {
    "h": 227.077,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29699,
    "c": 0.09322,
    "h": 268.6
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#1A285B
secondary
#918040
accent
#BF49DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A285B

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

Preview Lab → · Contrast checker → · Palette generator →

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