#1A2168#1A2168

#1A2168 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.4% C 0.123 H 272.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#1A2168
RGBrgb(26, 33, 104)
HSLhsl(235, 60%, 25%)
HSVhsv(235, 75%, 41%)
CMYKcmyk(75%, 68.3%, 0%, 59.2%)
CIE-LABlab(17.02, 23.51, -42.44)
CIE-LCHlch(17.02, 48.52, 298.98°)
OKLaboklab(29.41% 0.0042 -0.1226)
OKLCHoklch(29.41% 0.123 272)
XYZxyz(3.4677, 2.3065, 13.3565)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2168 #68611A
analogous
#1A4868 #1A2168 #3A1A68
triadic
#1A2168 #681A21 #21681A
tetradic
#1A2168 #681A48 #68611A #1A683A
square
#1A2168 #681A48 #68611A #1A683A
split-complementary
#1A2168 #683A1A #48681A
monochromatic
#060818 #0E1137 #1A2168 #263199 #3240CA

Accessibility & contrast

On white

14.37
#1A2168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A2168 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2168
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2168#FFFFFF#000000##FFFFFF
##1A21681.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002667
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a2168;
/* rgb */ color: rgb(26, 33, 104);
/* oklch */ color: oklch(29.4% 0.123 272.0);
Tailwind
colors: {
  custom: {
    50: '#635c94',
    500: '#1a2168',
    950: '#000000',
  },
}
SCSS
$custom: #1a2168;
$custom-light: #635c94;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2168",
  "rgb": {
    "r": 26,
    "g": 33,
    "b": 104
  },
  "hsl": {
    "h": 234.615,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29412,
    "c": 0.12268,
    "h": 272
  },
  "luminance": 0.02307
}

Semantic roles & 50–950 ramp

primary
#1A2168
secondary
#9D9540
accent
#D545E3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A2168

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

Preview Lab → · Contrast checker → · Palette generator →

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