#1A2A70#1A2A70

#1A2A70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.122 H 268.6°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#1A2A70
RGBrgb(26, 42, 112)
HSLhsl(229, 62%, 27%)
HSVhsv(229, 77%, 44%)
CMYKcmyk(76.8%, 62.5%, 0%, 56.1%)
CIE-LABlab(20.22, 20.32, -42.41)
CIE-LCHlch(20.22, 47.03, 295.60°)
OKLaboklab(32.01% -0.003 -0.1224)
OKLCHoklch(32.01% 0.122 268.6)
XYZxyz(4.1776, 3.0450, 15.6937)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A70 #70601A
analogous
#1A5570 #1A2A70 #351A70
triadic
#1A2A70 #701A2A #2A701A
tetradic
#1A2A70 #701A55 #70601A #1A7035
square
#1A2A70 #701A55 #70601A #1A7035
split-complementary
#1A2A70 #70351A #55701A
monochromatic
#060919 #0E173E #1A2A70 #263DA2 #3451D0

Accessibility & contrast

On white

13.05
#1A2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#1A2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A70
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A70#FFFFFF#000000##FFFFFF
##1A2A701.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2a70;
/* rgb */ color: rgb(26, 42, 112);
/* oklch */ color: oklch(32.0% 0.122 268.6);
Tailwind
colors: {
  custom: {
    50: '#64639a',
    500: '#1a2a70',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a70;
$custom-light: #64639a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a70",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 228.837,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32006,
    "c": 0.12246,
    "h": 268.6
  },
  "luminance": 0.03045
}

Semantic roles & 50–950 ramp

primary
#1A2A70
secondary
#A59241
accent
#C742E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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