#1A389D#1A389D

#1A389D is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.1% C 0.168 H 265.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#1A389D
RGBrgb(26, 56, 157)
HSLhsl(226, 72%, 36%)
HSVhsv(226, 83%, 62%)
CMYKcmyk(83.4%, 64.3%, 0%, 38.4%)
CIE-LABlab(28.06, 28.49, -57.73)
CIE-LCHlch(28.06, 64.38, 296.27°)
OKLaboklab(39.08% -0.0122 -0.1671)
OKLCHoklch(39.08% 0.168 265.8)
XYZxyz(7.9238, 5.4813, 32.5321)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A389D #9D7F1A
analogous
#1A799D #1A389D #3E1A9D
triadic
#1A389D #9D1A38 #389D1A
tetradic
#1A389D #9D1A79 #9D7F1A #1A9D3E
square
#1A389D #9D1A79 #9D7F1A #1A9D3E
split-complementary
#1A389D #9D3E1A #799D1A
monochromatic
#091334 #112568 #1A389D #234BD2 #4F71E2

Accessibility & contrast

On white

10.02
#1A389D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#1A389D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A389D
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A389D#FFFFFF#000000##FFFFFF
##1A389D1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #1a389d;
/* rgb */ color: rgb(26, 56, 157);
/* oklch */ color: oklch(39.1% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f6ebb',
    500: '#1a389d',
    950: '#000000',
  },
}
SCSS
$custom: #1a389d;
$custom-light: #6f6ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#1a389d",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 157
  },
  "hsl": {
    "h": 226.26,
    "s": 71.585,
    "l": 35.882
  },
  "oklch": {
    "l": 0.39076,
    "c": 0.1676,
    "h": 265.8
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#1A389D
secondary
#C4A94E
accent
#C539EE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A389D

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

Preview Lab → · Contrast checker → · Palette generator →

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