#1A2E7F#1A2E7F

#1A2E7F is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.139 H 267.5°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#1A2E7F
RGBrgb(26, 46, 127)
HSLhsl(228, 66%, 30%)
HSVhsv(228, 80%, 50%)
CMYKcmyk(79.5%, 63.8%, 0%, 50.2%)
CIE-LABlab(22.67, 23.52, -47.98)
CIE-LCHlch(22.67, 53.43, 296.11°)
OKLaboklab(34.24% -0.0059 -0.1387)
OKLCHoklch(34.24% 0.139 267.5)
XYZxyz(5.2324, 3.7053, 20.5140)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E7F #7F6B1A
analogous
#1A607F #1A2E7F #391A7F
triadic
#1A2E7F #7F1A2E #2E7F1A
tetradic
#1A2E7F #7F1A60 #7F6B1A #1A7F39
square
#1A2E7F #7F1A60 #7F6B1A #1A7F39
split-complementary
#1A2E7F #7F391A #607F1A
monochromatic
#050919 #101C4C #1A2E7F #2440B2 #3C5BD7

Accessibility & contrast

On white

12.06
#1A2E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#1A2E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E7F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E7F#FFFFFF#000000##FFFFFF
##1A2E7F1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2e7f;
/* rgb */ color: rgb(26, 46, 127);
/* oklch */ color: oklch(34.2% 0.139 267.5);
Tailwind
colors: {
  custom: {
    50: '#6866a5',
    500: '#1a2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e7f;
$custom-light: #6866a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e7f",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 228.119,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.34242,
    "c": 0.13884,
    "h": 267.5
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#1A2E7F
secondary
#B39D42
accent
#C73FE9
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #1A2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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