#1A3D7B#1A3D7B

#1A3D7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.113 H 260.8°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#1A3D7B
RGBrgb(26, 61, 123)
HSLhsl(218, 65%, 29%)
HSVhsv(218, 79%, 48%)
CMYKcmyk(78.9%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.70, 11.32, -38.92)
CIE-LCHlch(26.70, 40.54, 286.21°)
OKLaboklab(37.18% -0.018 -0.1118)
OKLCHoklch(37.18% 0.113 260.8)
XYZxyz(5.6686, 4.9865, 19.3988)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3D7B #7B581A
analogous
#1A6E7B #1A3D7B #281A7B
triadic
#1A3D7B #7B1A3D #3D7B1A
tetradic
#1A3D7B #7B1A6E #7B581A #1A7B28
square
#1A3D7B #7B1A6E #7B581A #1A7B28
split-complementary
#1A3D7B #7B281A #6E7B1A
monochromatic
#050D19 #0F2448 #1A3D7B #2556AE #3A72D5

Accessibility & contrast

On white

10.51
#1A3D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A3D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3D7B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3D7B#FFFFFF#000000##FFFFFF
##1A3D7B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3d7b;
/* rgb */ color: rgb(26, 61, 123);
/* oklch */ color: oklch(37.2% 0.113 260.8);
Tailwind
colors: {
  custom: {
    50: '#6671a2',
    500: '#1a3d7b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3d7b;
$custom-light: #6671a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3d7b",
  "rgb": {
    "r": 26,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 218.351,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37177,
    "c": 0.11327,
    "h": 260.8
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#1A3D7B
secondary
#AF8842
accent
#AB40E8
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #1A3D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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