#1A3370#1A3370

#1A3370 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.110 H 264.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#1A3370
RGBrgb(26, 51, 112)
HSLhsl(223, 62%, 27%)
HSVhsv(223, 77%, 44%)
CMYKcmyk(76.8%, 54.5%, 0%, 56.1%)
CIE-LABlab(22.85, 13.87, -38.14)
CIE-LCHlch(22.85, 40.59, 289.99°)
OKLaboklab(33.98% -0.0106 -0.1097)
OKLCHoklch(33.98% 0.11 264.5)
XYZxyz(4.5334, 3.7566, 15.8123)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3370 #70571A
analogous
#1A5E70 #1A3370 #2C1A70
triadic
#1A3370 #701A33 #33701A
tetradic
#1A3370 #701A5E #70571A #1A702C
square
#1A3370 #701A5E #70571A #1A702C
split-complementary
#1A3370 #702C1A #5E701A
monochromatic
#060B19 #0E1C3E #1A3370 #264AA2 #3462D0

Accessibility & contrast

On white

11.99
#1A3370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A3370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3370
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3370#FFFFFF#000000##FFFFFF
##1A33701.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3B72
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3370;
/* rgb */ color: rgb(26, 51, 112);
/* oklch */ color: oklch(34.0% 0.110 264.5);
Tailwind
colors: {
  custom: {
    50: '#646a9a',
    500: '#1a3370',
    950: '#000000',
  },
}
SCSS
$custom: #1a3370;
$custom-light: #646a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3370",
  "rgb": {
    "r": 26,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 222.558,
    "s": 62.319,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33982,
    "c": 0.11024,
    "h": 264.5
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#1A3370
secondary
#A58841
accent
#B642E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3370

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

Preview Lab → · Contrast checker → · Palette generator →

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