#1A285C#1A285C

#1A285C is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.8% C 0.095 H 268.7°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#1A285C
RGBrgb(26, 40, 92)
HSLhsl(227, 56%, 23%)
HSVhsv(227, 72%, 36%)
CMYKcmyk(71.7%, 56.5%, 0%, 63.9%)
CIE-LABlab(17.96, 13.64, -32.99)
CIE-LCHlch(17.96, 35.70, 292.45°)
OKLaboklab(29.78% -0.0022 -0.0948)
OKLCHoklch(29.78% 0.095 268.7)
XYZxyz(3.1159, 2.5096, 10.4433)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A285C #5C4E1A
analogous
#1A495C #1A285C #2D1A5C
triadic
#1A285C #5C1A28 #285C1A
tetradic
#1A285C #5C1A49 #5C4E1A #1A5C2D
square
#1A285C #5C1A49 #5C4E1A #1A5C2D
split-complementary
#1A285C #5C2D1A #495C1A
monochromatic
#070A18 #0D132C #1A285C #273D8C #3551BB

Accessibility & contrast

On white

13.98
#1A285C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A285C
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A285C#FFFFFF#000000##FFFFFF
##1A285C1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072F5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a285c;
/* rgb */ color: rgb(26, 40, 92);
/* oklch */ color: oklch(29.8% 0.095 268.7);
Tailwind
colors: {
  custom: {
    50: '#5f618b',
    500: '#1a285c',
    950: '#000000',
  },
}
SCSS
$custom: #1a285c;
$custom-light: #5f618b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a285c",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 92
  },
  "hsl": {
    "h": 227.273,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.09479,
    "h": 268.7
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A285C

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

Preview Lab → · Contrast checker → · Palette generator →

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