#1A3B8A#1A3B8A

#1A3B8A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.138 H 263.9°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#1A3B8A
RGBrgb(26, 59, 138)
HSLhsl(222, 68%, 32%)
HSVhsv(222, 81%, 54%)
CMYKcmyk(81.2%, 57.2%, 0%, 45.9%)
CIE-LABlab(27.25, 18.85, -47.40)
CIE-LCHlch(27.25, 51.01, 291.69°)
OKLaboklab(37.96% -0.0147 -0.1368)
OKLCHoklch(37.96% 0.138 263.9)
XYZxyz(6.5758, 5.1818, 24.6934)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B8A #8A691A
analogous
#1A738A #1A3B8A #311A8A
triadic
#1A3B8A #8A1A3B #3B8A1A
tetradic
#1A3B8A #8A1A73 #8A691A #1A8A31
square
#1A3B8A #8A1A73 #8A691A #1A8A31
split-complementary
#1A3B8A #8A311A #738A1A
monochromatic
#070F23 #102557 #1A3B8A #2451BD #4370DC

Accessibility & contrast

On white

10.31
#1A3B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#1A3B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3B8A
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3B8A#FFFFFF#000000##FFFFFF
##1A3B8A1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004F5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a3b8a;
/* rgb */ color: rgb(26, 59, 138);
/* oklch */ color: oklch(38.0% 0.138 263.9);
Tailwind
colors: {
  custom: {
    50: '#6a70ad',
    500: '#1a3b8a',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b8a;
$custom-light: #6a70ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b8a",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 138
  },
  "hsl": {
    "h": 222.321,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37957,
    "c": 0.1376,
    "h": 263.9
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#1A3B8A
secondary
#BD9943
accent
#B83DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A3B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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