#1A2B70#1A2B70

#1A2B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.121 H 268.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2B70
RGBrgb(26, 43, 112)
HSLhsl(228, 62%, 27%)
HSVhsv(228, 77%, 44%)
CMYKcmyk(76.8%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.51, 19.61, -41.95)
CIE-LCHlch(20.51, 46.30, 295.05°)
OKLaboklab(32.22% -0.0038 -0.121)
OKLCHoklch(32.22% 0.121 268.2)
XYZxyz(4.2135, 3.1168, 15.7056)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B70 #705F1A
analogous
#1A5670 #1A2B70 #341A70
triadic
#1A2B70 #701A2B #2B701A
tetradic
#1A2B70 #701A56 #705F1A #1A7034
square
#1A2B70 #701A56 #705F1A #1A7034
split-complementary
#1A2B70 #70341A #56701A
monochromatic
#060A19 #0E183E #1A2B70 #263EA2 #3453D0

Accessibility & contrast

On white

12.94
#1A2B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B70
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B70#FFFFFF#000000##FFFFFF
##1A2B701.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2b70;
/* rgb */ color: rgb(26, 43, 112);
/* oklch */ color: oklch(32.2% 0.121 268.2);
Tailwind
colors: {
  custom: {
    50: '#64649a',
    500: '#1a2b70',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b70;
$custom-light: #64649a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b70",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 228.14,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32217,
    "c": 0.12111,
    "h": 268.2
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#1A2B70
secondary
#A59141
accent
#C542E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2B70

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

Preview Lab → · Contrast checker → · Palette generator →

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