#1A2D70#1A2D70

#1A2D70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.118 H 267.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#1A2D70
RGBrgb(26, 45, 112)
HSLhsl(227, 62%, 27%)
HSVhsv(227, 77%, 44%)
CMYKcmyk(76.8%, 59.8%, 0%, 56.1%)
CIE-LABlab(21.08, 18.17, -41.02)
CIE-LCHlch(21.08, 44.86, 293.90°)
OKLaboklab(32.65% -0.0054 -0.1183)
OKLCHoklch(32.65% 0.118 267.4)
XYZxyz(4.2880, 3.2658, 15.7305)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D70 #705D1A
analogous
#1A5870 #1A2D70 #321A70
triadic
#1A2D70 #701A2D #2D701A
tetradic
#1A2D70 #701A58 #705D1A #1A7032
square
#1A2D70 #701A58 #705D1A #1A7032
split-complementary
#1A2D70 #70321A #58701A
monochromatic
#060A19 #0E193E #1A2D70 #2641A2 #3457D0

Accessibility & contrast

On white

12.70
#1A2D70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2D70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2D70
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D70#FFFFFF#000000##FFFFFF
##1A2D701.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2d70;
/* rgb */ color: rgb(26, 45, 112);
/* oklch */ color: oklch(32.6% 0.118 267.4);
Tailwind
colors: {
  custom: {
    50: '#64659a',
    500: '#1a2d70',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d70;
$custom-light: #64659a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d70",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 226.744,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.32645,
    "c": 0.11841,
    "h": 267.4
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#1A2D70
secondary
#A58F41
accent
#C142E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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