#1A3A88#1A3A88

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

Color values

HEX#1A3A88
RGBrgb(26, 58, 136)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 53%)
CMYKcmyk(80.9%, 57.4%, 0%, 46.7%)
CIE-LABlab(26.80, 18.74, -46.89)
CIE-LCHlch(26.80, 50.49, 291.78°)
OKLaboklab(37.57% -0.0141 -0.1353)
OKLCHoklch(37.57% 0.136 264.1)
XYZxyz(6.3814, 5.0226, 23.9209)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A88 #88681A
analogous
#1A7188 #1A3A88 #311A88
triadic
#1A3A88 #881A3A #3A881A
tetradic
#1A3A88 #881A71 #88681A #1A8831
square
#1A3A88 #881A71 #88681A #1A8831
split-complementary
#1A3A88 #88311A #71881A
monochromatic
#060E21 #102455 #1A3A88 #2450BB #426EDB

Accessibility & contrast

On white

10.48
#1A3A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A3A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A88
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A88#FFFFFF#000000##FFFFFF
##1A3A881.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#003B86
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a3a88;
/* rgb */ color: rgb(26, 58, 136);
/* oklch */ color: oklch(37.6% 0.136 264.1);
Tailwind
colors: {
  custom: {
    50: '#6a6fab',
    500: '#1a3a88',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a88;
$custom-light: #6a6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a88",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 136
  },
  "hsl": {
    "h": 222.545,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.37569,
    "c": 0.13605,
    "h": 264.1
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#1A3A88
secondary
#BB9843
accent
#B83DEB
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #1A3A88

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

Preview Lab → · Contrast checker → · Palette generator →

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