#1A388D#1A388D

#1A388D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.146 H 265.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#1A388D
RGBrgb(26, 56, 141)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 82%, 55%)
CMYKcmyk(81.6%, 60.3%, 0%, 44.7%)
CIE-LABlab(26.65, 22.15, -50.23)
CIE-LCHlch(26.65, 54.90, 293.80°)
OKLaboklab(37.59% -0.0124 -0.1452)
OKLCHoklch(37.59% 0.146 265.1)
XYZxyz(6.6462, 4.9703, 25.8032)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A388D #8D6F1A
analogous
#1A718D #1A388D #361A8D
triadic
#1A388D #8D1A38 #388D1A
tetradic
#1A388D #8D1A71 #8D6F1A #1A8D36
square
#1A388D #8D1A71 #8D6F1A #1A8D36
split-complementary
#1A388D #8D361A #718D1A
monochromatic
#070F26 #102359 #1A388D #244DC1 #456CDD

Accessibility & contrast

On white

10.53
#1A388D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A388D
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A388D#FFFFFF#000000##FFFFFF
##1A388D1.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003A8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a388d;
/* rgb */ color: rgb(26, 56, 141);
/* oklch */ color: oklch(37.6% 0.146 265.1);
Tailwind
colors: {
  custom: {
    50: '#6b6eaf',
    500: '#1a388d',
    950: '#000000',
  },
}
SCSS
$custom: #1a388d;
$custom-light: #6b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a388d",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 141
  },
  "hsl": {
    "h": 224.348,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37587,
    "c": 0.1457,
    "h": 265.1
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#1A388D
secondary
#BE9E45
accent
#BE3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A388D

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

Preview Lab → · Contrast checker → · Palette generator →

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