#1A288F#1A288F

#1A288F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.168 H 268.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#1A288F
RGBrgb(26, 40, 143)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 82%, 56%)
CMYKcmyk(81.8%, 72%, 0%, 43.9%)
CIE-LABlab(22.72, 33.73, -57.91)
CIE-LCHlch(22.72, 67.02, 300.22°)
OKLaboklab(34.76% -0.0036 -0.1678)
OKLCHoklch(34.76% 0.168 268.8)
XYZxyz(6.1410, 3.7197, 26.3756)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A288F #8F811A
analogous
#1A628F #1A288F #471A8F
triadic
#1A288F #8F1A28 #288F1A
tetradic
#1A288F #8F1A62 #8F811A #1A8F47
square
#1A288F #8F1A62 #8F811A #1A8F47
split-complementary
#1A288F #8F471A #628F1A
monochromatic
#070B27 #111A5B #1A288F #2336C3 #4658DD

Accessibility & contrast

On white

12.04
#1A288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A288F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A288F#FFFFFF#000000##FFFFFF
##1A288F1.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a288f;
/* rgb */ color: rgb(26, 40, 143);
/* oklch */ color: oklch(34.8% 0.168 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d62b1',
    500: '#1a288f',
    950: '#000000',
  },
}
SCSS
$custom: #1a288f;
$custom-light: #6d62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a288f",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 232.821,
    "s": 69.231,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34756,
    "c": 0.16781,
    "h": 268.8
  },
  "luminance": 0.0372
}

Semantic roles & 50–950 ramp

primary
#1A288F
secondary
#BFB046
accent
#D73CEC
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #1A288F

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

Preview Lab → · Contrast checker → · Palette generator →

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