#1A2278#1A2278

#1A2278 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.144 H 270.8°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#1A2278
RGBrgb(26, 34, 120)
HSLhsl(235, 64%, 29%)
HSVhsv(235, 78%, 47%)
CMYKcmyk(78.3%, 71.7%, 0%, 52.9%)
CIE-LABlab(18.88, 29.00, -49.74)
CIE-LCHlch(18.88, 57.58, 300.24°)
OKLaboklab(31.26% 0.002 -0.144)
OKLCHoklch(31.26% 0.144 270.8)
XYZxyz(4.3870, 2.7193, 18.0593)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2278 #78701A
analogous
#1A5178 #1A2278 #411A78
triadic
#1A2278 #781A22 #22781A
tetradic
#1A2278 #781A51 #78701A #1A7841
square
#1A2278 #781A51 #78701A #1A7841
split-complementary
#1A2278 #78411A #51781A
monochromatic
#050719 #0F1446 #1A2278 #2530AA #3846D4

Accessibility & contrast

On white

13.60
#1A2278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2278
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2278#FFFFFF#000000##FFFFFF
##1A22781.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327B
Deuteranopia (green-blind)
#002976
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2278;
/* rgb */ color: rgb(26, 34, 120);
/* oklch */ color: oklch(31.3% 0.144 270.8);
Tailwind
colors: {
  custom: {
    50: '#675da0',
    500: '#1a2278',
    950: '#000000',
  },
}
SCSS
$custom: #1a2278;
$custom-light: #675da0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2278",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 234.894,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31258,
    "c": 0.14397,
    "h": 270.8
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#1A2278
secondary
#ACA341
accent
#D940E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E

Preview Lab

Preview with #1A2278

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

Preview Lab → · Contrast checker → · Palette generator →

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