#1A3E94#1A3E94

#1A3E94 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.148 H 263.8°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#1A3E94
RGBrgb(26, 62, 148)
HSLhsl(222, 70%, 34%)
HSVhsv(222, 82%, 58%)
CMYKcmyk(82.4%, 58.1%, 0%, 42%)
CIE-LABlab(28.91, 20.82, -50.86)
CIE-LCHlch(28.91, 54.96, 292.26°)
OKLaboklab(39.46% -0.0161 -0.1469)
OKLCHoklch(39.46% 0.148 263.8)
XYZxyz(7.4920, 5.8021, 28.7363)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3E94 #94701A
analogous
#1A7B94 #1A3E94 #331A94
triadic
#1A3E94 #941A3E #3E941A
tetradic
#1A3E94 #941A7B #94701A #1A9433
square
#1A3E94 #941A7B #94701A #1A9433
split-complementary
#1A3E94 #94331A #7B941A
monochromatic
#08122C #112860 #1A3E94 #2354C8 #4976DF

Accessibility & contrast

On white

9.72
#1A3E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#1A3E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3E94
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3E94#FFFFFF#000000##FFFFFF
##1A3E941.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A97
Deuteranopia (green-blind)
#003F92
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #1a3e94;
/* rgb */ color: rgb(26, 62, 148);
/* oklch */ color: oklch(39.5% 0.148 263.8);
Tailwind
colors: {
  custom: {
    50: '#6d72b4',
    500: '#1a3e94',
    950: '#000000',
  },
}
SCSS
$custom: #1a3e94;
$custom-light: #6d72b4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3e94",
  "rgb": {
    "r": 26,
    "g": 62,
    "b": 148
  },
  "hsl": {
    "h": 222.295,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.39464,
    "c": 0.1478,
    "h": 263.8
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#1A3E94
secondary
#C19D49
accent
#B83BED
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3E94

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

Preview Lab → · Contrast checker → · Palette generator →

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