#1A286C#1A286C

#1A286C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.2% C 0.119 H 269.3°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1A286C
RGBrgb(26, 40, 108)
HSLhsl(230, 61%, 26%)
HSVhsv(230, 76%, 42%)
CMYKcmyk(75.9%, 63%, 0%, 57.6%)
CIE-LABlab(19.31, 20.14, -41.32)
CIE-LCHlch(19.31, 45.96, 295.98°)
OKLaboklab(31.21% -0.0014 -0.1192)
OKLCHoklch(31.21% 0.119 269.3)
XYZxyz(3.8906, 2.8195, 14.5236)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A286C #6C5E1A
analogous
#1A516C #1A286C #351A6C
triadic
#1A286C #6C1A28 #286C1A
tetradic
#1A286C #6C1A51 #6C5E1A #1A6C35
square
#1A286C #6C1A51 #6C5E1A #1A6C35
split-complementary
#1A286C #6C351A #516C1A
monochromatic
#060919 #0E163B #1A286C #263A9D #334DCE

Accessibility & contrast

On white

13.43
#1A286C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A286C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A286C
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A286C#FFFFFF#000000##FFFFFF
##1A286C1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336E
Deuteranopia (green-blind)
#002B6B
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a286c;
/* rgb */ color: rgb(26, 40, 108);
/* oklch */ color: oklch(31.2% 0.119 269.3);
Tailwind
colors: {
  custom: {
    50: '#646197',
    500: '#1a286c',
    950: '#000000',
  },
}
SCSS
$custom: #1a286c;
$custom-light: #646197;
$custom-dark: #000000;
JSON
{
  "hex": "#1a286c",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 108
  },
  "hsl": {
    "h": 229.756,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31214,
    "c": 0.11925,
    "h": 269.3
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#1A286C
secondary
#A19141
accent
#C943E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1A286C

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

Preview Lab → · Contrast checker → · Palette generator →

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