#1A3F94#1A3F94

#1A3F94 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.7% C 0.147 H 263.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#1A3F94
RGBrgb(26, 63, 148)
HSLhsl(222, 70%, 34%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(82.4%, 57.4%, 0%, 42%)
CIE-LABlab(29.19, 20.13, -50.40)
CIE-LCHlch(29.19, 54.27, 291.77°)
OKLaboklab(39.68% -0.0168 -0.1456)
OKLCHoklch(39.68% 0.147 263.4)
XYZxyz(7.5469, 5.9118, 28.7546)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F94 #946F1A
analogous
#1A7C94 #1A3F94 #321A94
triadic
#1A3F94 #941A3F #3F941A
tetradic
#1A3F94 #941A7C #946F1A #1A9432
square
#1A3F94 #941A7C #946F1A #1A9432
split-complementary
#1A3F94 #94321A #7C941A
monochromatic
#08132C #112960 #1A3F94 #2355C8 #4977DF

Accessibility & contrast

On white

9.62
#1A3F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#1A3F94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F94
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F94#FFFFFF#000000##FFFFFF
##1A3F941.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005463
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3f94;
/* rgb */ color: rgb(26, 63, 148);
/* oklch */ color: oklch(39.7% 0.147 263.4);
Tailwind
colors: {
  custom: {
    50: '#6c73b4',
    500: '#1a3f94',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f94;
$custom-light: #6c73b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f94",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 148
  },
  "hsl": {
    "h": 221.803,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39676,
    "c": 0.14651,
    "h": 263.4
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#1A3F94
secondary
#C19C49
accent
#B73BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F94

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

Preview Lab → · Contrast checker → · Palette generator →

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