#1A288C#1A288C

#1A288C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.4% C 0.164 H 268.9°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#1A288C
RGBrgb(26, 40, 140)
HSLhsl(233, 69%, 33%)
HSVhsv(233, 81%, 55%)
CMYKcmyk(81.4%, 71.4%, 0%, 45.1%)
CIE-LABlab(22.41, 32.61, -56.56)
CIE-LCHlch(22.41, 65.29, 299.96°)
OKLaboklab(34.44% -0.0033 -0.1638)
OKLCHoklch(34.44% 0.164 268.9)
XYZxyz(5.9168, 3.6300, 25.1947)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A288C #8C7E1A
analogous
#1A618C #1A288C #451A8C
triadic
#1A288C #8C1A28 #288C1A
tetradic
#1A288C #8C1A61 #8C7E1A #1A8C45
square
#1A288C #8C1A61 #8C7E1A #1A8C45
split-complementary
#1A288C #8C451A #618C1A
monochromatic
#070B25 #101958 #1A288C #2437C0 #4457DC

Accessibility & contrast

On white

12.17
#1A288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A288C
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A288C#FFFFFF#000000##FFFFFF
##1A288C1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a288c;
/* rgb */ color: rgb(26, 40, 140);
/* oklch */ color: oklch(34.4% 0.164 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c62af',
    500: '#1a288c',
    950: '#000000',
  },
}
SCSS
$custom: #1a288c;
$custom-light: #6c62af;
$custom-dark: #000000;
JSON
{
  "hex": "#1a288c",
  "rgb": {
    "r": 26,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 232.632,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34435,
    "c": 0.16387,
    "h": 268.9
  },
  "luminance": 0.03631
}

Semantic roles & 50–950 ramp

primary
#1A288C
secondary
#BEAF44
accent
#D63CEC
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#080510
muted
#7B797F

Preview Lab

Preview with #1A288C

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

Preview Lab → · Contrast checker → · Palette generator →

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