#1A286F#1A286F

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

Color values

HEX#1A286F
RGBrgb(26, 40, 111)
HSLhsl(230, 62%, 27%)
HSVhsv(230, 77%, 44%)
CMYKcmyk(76.6%, 64%, 0%, 56.5%)
CIE-LABlab(19.58, 21.34, -42.82)
CIE-LCHlch(19.58, 47.84, 296.49°)
OKLaboklab(31.5% -0.0014 -0.1236)
OKLCHoklch(31.5% 0.124 269.3)
XYZxyz(4.0531, 2.8845, 15.3790)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A286F #6F611A
analogous
#1A536F #1A286F #371A6F
triadic
#1A286F #6F1A28 #286F1A
tetradic
#1A286F #6F1A53 #6F611A #1A6F37
square
#1A286F #6F1A53 #6F611A #1A6F37
split-complementary
#1A286F #6F371A #536F1A
monochromatic
#060919 #0E163D #1A286F #263AA1 #344ECF

Accessibility & contrast

On white

13.32
#1A286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A286F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A286F#FFFFFF#000000##FFFFFF
##1A286F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a286f;
/* rgb */ color: rgb(26, 40, 111);
/* oklch */ color: oklch(31.5% 0.124 269.3);
Tailwind
colors: {
  custom: {
    50: '#646199',
    500: '#1a286f',
    950: '#000000',
  },
}
SCSS
$custom: #1a286f;
$custom-light: #646199;
$custom-dark: #000000;
JSON
{
  "hex": "#1a286f",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 230.118,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31497,
    "c": 0.12366,
    "h": 269.3
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A286F

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

Preview Lab → · Contrast checker → · Palette generator →

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