#1A388B#1A388B

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

Color values

HEX#1A388B
RGBrgb(26, 56, 139)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 55%)
CMYKcmyk(81.3%, 59.7%, 0%, 45.5%)
CIE-LABlab(26.48, 21.35, -49.27)
CIE-LCHlch(26.48, 53.70, 293.43°)
OKLaboklab(37.41% -0.0125 -0.1423)
OKLCHoklch(37.41% 0.143 265)
XYZxyz(6.4987, 4.9113, 25.0266)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A388B #8B6D1A
analogous
#1A708B #1A388B #351A8B
triadic
#1A388B #8B1A38 #388B1A
tetradic
#1A388B #8B1A70 #8B6D1A #1A8B35
square
#1A388B #8B1A70 #8B6D1A #1A8B35
split-complementary
#1A388B #8B351A #708B1A
monochromatic
#070E24 #102357 #1A388B #244DBF #436CDC

Accessibility & contrast

On white

10.59
#1A388B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A388B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A388B#FFFFFF#000000##FFFFFF
##1A388B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a388b;
/* rgb */ color: rgb(26, 56, 139);
/* oklch */ color: oklch(37.4% 0.143 265.0);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1a388b',
    950: '#000000',
  },
}
SCSS
$custom: #1a388b;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a388b",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 139
  },
  "hsl": {
    "h": 224.071,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37407,
    "c": 0.1429,
    "h": 265
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#1A388B
secondary
#BD9D44
accent
#BD3CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A388B

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

Preview Lab → · Contrast checker → · Palette generator →

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