#1A388C#1A388C

#1A388C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.5% C 0.144 H 265.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#1A388C
RGBrgb(26, 56, 140)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 81%, 55%)
CMYKcmyk(81.4%, 60%, 0%, 45.1%)
CIE-LABlab(26.56, 21.75, -49.75)
CIE-LCHlch(26.56, 54.30, 293.62°)
OKLaboklab(37.5% -0.0125 -0.1438)
OKLCHoklch(37.5% 0.144 265)
XYZxyz(6.5721, 4.9406, 25.4131)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A388C #8C6E1A
analogous
#1A718C #1A388C #351A8C
triadic
#1A388C #8C1A38 #388C1A
tetradic
#1A388C #8C1A71 #8C6E1A #1A8C35
square
#1A388C #8C1A71 #8C6E1A #1A8C35
split-complementary
#1A388C #8C351A #718C1A
monochromatic
#070F25 #102358 #1A388C #244DC0 #446CDC

Accessibility & contrast

On white

10.56
#1A388C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#1A388C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A388C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A388C#FFFFFF#000000##FFFFFF
##1A388C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a388c;
/* rgb */ color: rgb(26, 56, 140);
/* oklch */ color: oklch(37.5% 0.144 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1a388c',
    950: '#000000',
  },
}
SCSS
$custom: #1a388c;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a388c",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 140
  },
  "hsl": {
    "h": 224.211,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37497,
    "c": 0.1443,
    "h": 265
  },
  "luminance": 0.04941
}

Semantic roles & 50–950 ramp

primary
#1A388C
secondary
#BE9E44
accent
#BD3CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A388C

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

Preview Lab → · Contrast checker → · Palette generator →

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