#1A3A7A#1A3A7A

#1A3A7A is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.116 H 262.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#1A3A7A
RGBrgb(26, 58, 122)
HSLhsl(220, 65%, 29%)
HSVhsv(220, 79%, 48%)
CMYKcmyk(78.7%, 52.5%, 0%, 52.2%)
CIE-LABlab(25.71, 13.01, -39.88)
CIE-LCHlch(25.71, 41.95, 288.07°)
OKLaboklab(36.4% -0.0155 -0.1147)
OKLCHoklch(36.4% 0.116 262.3)
XYZxyz(5.4507, 4.6503, 19.0189)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A7A #7A5A1A
analogous
#1A6A7A #1A3A7A #2A1A7A
triadic
#1A3A7A #7A1A3A #3A7A1A
tetradic
#1A3A7A #7A1A6A #7A5A1A #1A7A2A
square
#1A3A7A #7A1A6A #7A5A1A #1A7A2A
split-complementary
#1A3A7A #7A2A1A #6A7A1A
monochromatic
#050C19 #0F2248 #1A3A7A #2552AC #396DD5

Accessibility & contrast

On white

10.88
#1A3A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#1A3A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A7A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A7A#FFFFFF#000000##FFFFFF
##1A3A7A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427C
Deuteranopia (green-blind)
#003979
Tritanopia (blue-blind)
#004954
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3a7a;
/* rgb */ color: rgb(26, 58, 122);
/* oklch */ color: oklch(36.4% 0.116 262.3);
Tailwind
colors: {
  custom: {
    50: '#666fa1',
    500: '#1a3a7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a7a;
$custom-light: #666fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a7a",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 122
  },
  "hsl": {
    "h": 220,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.36403,
    "c": 0.11575,
    "h": 262.3
  },
  "luminance": 0.04651
}

Semantic roles & 50–950 ramp

primary
#1A3A7A
secondary
#AE8A41
accent
#B040E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07070F
muted
#7A7A7E

Preview Lab

Preview with #1A3A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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