#1A286E#1A286E

#1A286E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.122 H 269.3°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#1A286E
RGBrgb(26, 40, 110)
HSLhsl(230, 62%, 27%)
HSVhsv(230, 76%, 43%)
CMYKcmyk(76.4%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.48, 20.94, -42.32)
CIE-LCHlch(19.48, 47.22, 296.33°)
OKLaboklab(31.4% -0.0014 -0.1222)
OKLCHoklch(31.4% 0.122 269.3)
XYZxyz(3.9983, 2.8626, 15.0906)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A286E #6E601A
analogous
#1A526E #1A286E #361A6E
triadic
#1A286E #6E1A28 #286E1A
tetradic
#1A286E #6E1A52 #6E601A #1A6E36
square
#1A286E #6E1A52 #6E601A #1A6E36
split-complementary
#1A286E #6E361A #526E1A
monochromatic
#060919 #0E163D #1A286E #263AA0 #344DCF

Accessibility & contrast

On white

13.35
#1A286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A286E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A286E
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A286E#FFFFFF#000000##FFFFFF
##1A286E1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a286e;
/* rgb */ color: rgb(26, 40, 110);
/* oklch */ color: oklch(31.4% 0.122 269.3);
Tailwind
colors: {
  custom: {
    50: '#646198',
    500: '#1a286e',
    950: '#000000',
  },
}
SCSS
$custom: #1a286e;
$custom-light: #646198;
$custom-dark: #000000;
JSON
{
  "hex": "#1a286e",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 230,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31402,
    "c": 0.12219,
    "h": 269.3
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#1A286E
secondary
#A39341
accent
#CA43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A286E

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

Preview Lab → · Contrast checker → · Palette generator →

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