#1A3A9B#1A3A9B

#1A3A9B is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.3% C 0.162 H 265.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#1A3A9B
RGBrgb(26, 58, 155)
HSLhsl(225, 71%, 35%)
HSVhsv(225, 83%, 61%)
CMYKcmyk(83.2%, 62.6%, 0%, 39.2%)
CIE-LABlab(28.41, 26.35, -55.95)
CIE-LCHlch(28.41, 61.85, 295.22°)
OKLaboklab(39.28% -0.0133 -0.1619)
OKLCHoklch(39.28% 0.162 265.3)
XYZxyz(7.8534, 5.6113, 31.6732)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3A9B #9B7B1A
analogous
#1A7B9B #1A3A9B #3A1A9B
triadic
#1A3A9B #9B1A3A #3A9B1A
tetradic
#1A3A9B #9B1A7B #9B7B1A #1A9B3A
square
#1A3A9B #9B1A7B #9B7B1A #1A9B3A
split-complementary
#1A3A9B #9B3A1A #7B9B1A
monochromatic
#081332 #112667 #1A3A9B #234ECF #4E73E1

Accessibility & contrast

On white

9.89
#1A3A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#1A3A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3A9B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3A9B#FFFFFF#000000##FFFFFF
##1A3A9B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#005365
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3a9b;
/* rgb */ color: rgb(26, 58, 155);
/* oklch */ color: oklch(39.3% 0.162 265.3);
Tailwind
colors: {
  custom: {
    50: '#6f6fb9',
    500: '#1a3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #1a3a9b;
$custom-light: #6f6fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3a9b",
  "rgb": {
    "r": 26,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 225.116,
    "s": 71.271,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39277,
    "c": 0.16246,
    "h": 265.3
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#1A3A9B
secondary
#C4A64D
accent
#C13AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #1A3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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