#1A3F95#1A3F95

#1A3F95 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.8% C 0.148 H 263.5°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#1A3F95
RGBrgb(26, 63, 149)
HSLhsl(222, 70%, 34%)
HSVhsv(222, 83%, 58%)
CMYKcmyk(82.6%, 57.7%, 0%, 41.6%)
CIE-LABlab(29.27, 20.53, -50.88)
CIE-LCHlch(29.27, 54.87, 291.97°)
OKLaboklab(39.76% -0.0167 -0.147)
OKLCHoklch(39.76% 0.148 263.5)
XYZxyz(7.6264, 5.9436, 29.1732)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F95 #95701A
analogous
#1A7D95 #1A3F95 #321A95
triadic
#1A3F95 #951A3F #3F951A
tetradic
#1A3F95 #951A7D #95701A #1A9532
square
#1A3F95 #951A7D #95701A #1A9532
split-complementary
#1A3F95 #95321A #7D951A
monochromatic
#08132D #112961 #1A3F95 #2355C9 #4A77DF

Accessibility & contrast

On white

9.59
#1A3F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#1A3F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F95
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F95#FFFFFF#000000##FFFFFF
##1A3F951.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005563
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #1a3f95;
/* rgb */ color: rgb(26, 63, 149);
/* oklch */ color: oklch(39.8% 0.148 263.5);
Tailwind
colors: {
  custom: {
    50: '#6d73b5',
    500: '#1a3f95',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f95;
$custom-light: #6d73b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f95",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 149
  },
  "hsl": {
    "h": 221.951,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39762,
    "c": 0.14791,
    "h": 263.5
  },
  "luminance": 0.05945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A3F95

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

Preview Lab → · Contrast checker → · Palette generator →

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