#1A2E70#1A2E70

#1A2E70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.117 H 266.9°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#1A2E70
RGBrgb(26, 46, 112)
HSLhsl(226, 62%, 27%)
HSVhsv(226, 77%, 44%)
CMYKcmyk(76.8%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.37, 17.46, -40.54)
CIE-LCHlch(21.37, 44.14, 293.30°)
OKLaboklab(32.86% -0.0063 -0.1169)
OKLCHoklch(32.86% 0.117 266.9)
XYZxyz(4.3266, 3.3430, 15.7433)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E70 #705C1A
analogous
#1A5970 #1A2E70 #311A70
triadic
#1A2E70 #701A2E #2E701A
tetradic
#1A2E70 #701A59 #705C1A #1A7031
square
#1A2E70 #701A59 #705C1A #1A7031
split-complementary
#1A2E70 #70311A #59701A
monochromatic
#060A19 #0E1A3E #1A2E70 #2642A2 #3459D0

Accessibility & contrast

On white

12.59
#1A2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E70
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E70#FFFFFF#000000##FFFFFF
##1A2E701.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2e70;
/* rgb */ color: rgb(26, 46, 112);
/* oklch */ color: oklch(32.9% 0.117 266.9);
Tailwind
colors: {
  custom: {
    50: '#64669a',
    500: '#1a2e70',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e70;
$custom-light: #64669a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e70",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 226.047,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32862,
    "c": 0.11705,
    "h": 266.9
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#1A2E70
secondary
#A58E41
accent
#BF42E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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