#1A3A7C#1A3A7C

#1A3A7C is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.6% C 0.119 H 262.6°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#1A3A7C
RGBrgb(26, 58, 124)
HSLhsl(220, 65%, 29%)
HSVhsv(220, 79%, 49%)
CMYKcmyk(79%, 53.2%, 0%, 51.4%)
CIE-LABlab(25.86, 13.83, -40.90)
CIE-LCHlch(25.86, 43.17, 288.69°)
OKLaboklab(36.56% -0.0153 -0.1177)
OKLCHoklch(36.56% 0.119 262.6)
XYZxyz(5.5758, 4.7003, 19.6783)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A7C #7C5C1A
analogous
#1A6B7C #1A3A7C #2B1A7C
triadic
#1A3A7C #7C1A3A #3A7C1A
tetradic
#1A3A7C #7C1A6B #7C5C1A #1A7C2B
square
#1A3A7C #7C1A6B #7C5C1A #1A7C2B
split-complementary
#1A3A7C #7C2B1A #6B7C1A
monochromatic
#050C19 #0F2249 #1A3A7C #2552AF #3B6DD6

Accessibility & contrast

On white

10.82
#1A3A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#1A3A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A7C
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A7C#FFFFFF#000000##FFFFFF
##1A3A7C1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427E
Deuteranopia (green-blind)
#00397B
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #1a3a7c;
/* rgb */ color: rgb(26, 58, 124);
/* oklch */ color: oklch(36.6% 0.119 262.6);
Tailwind
colors: {
  custom: {
    50: '#666fa2',
    500: '#1a3a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a7c;
$custom-light: #666fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a7c",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 124
  },
  "hsl": {
    "h": 220.408,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.11869,
    "h": 262.6
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#1A3A7C
secondary
#B08C42
accent
#B140E8
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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