#1A388A#1A388A

#1A388A is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.141 H 264.9°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#1A388A
RGBrgb(26, 56, 138)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 54%)
CMYKcmyk(81.2%, 59.4%, 0%, 45.9%)
CIE-LABlab(26.40, 20.95, -48.79)
CIE-LCHlch(26.40, 53.09, 293.24°)
OKLaboklab(37.32% -0.0125 -0.1409)
OKLCHoklch(37.32% 0.141 264.9)
XYZxyz(6.4260, 4.8822, 24.6435)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A388A #8A6C1A
analogous
#1A708A #1A388A #341A8A
triadic
#1A388A #8A1A38 #388A1A
tetradic
#1A388A #8A1A70 #8A6C1A #1A8A34
square
#1A388A #8A1A70 #8A6C1A #1A8A34
split-complementary
#1A388A #8A341A #708A1A
monochromatic
#070E23 #102357 #1A388A #244DBD #436CDC

Accessibility & contrast

On white

10.62
#1A388A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#1A388A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A388A
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A388A#FFFFFF#000000##FFFFFF
##1A388A1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #1a388a;
/* rgb */ color: rgb(26, 56, 138);
/* oklch */ color: oklch(37.3% 0.141 264.9);
Tailwind
colors: {
  custom: {
    50: '#6a6ead',
    500: '#1a388a',
    950: '#000000',
  },
}
SCSS
$custom: #1a388a;
$custom-light: #6a6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1a388a",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 138
  },
  "hsl": {
    "h": 223.929,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.14149,
    "h": 264.9
  },
  "luminance": 0.04883
}

Semantic roles & 50–950 ramp

primary
#1A388A
secondary
#BD9C43
accent
#BC3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A388A

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

Preview Lab → · Contrast checker → · Palette generator →

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