#1A3F98#1A3F98

#1A3F98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.152 H 263.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#1A3F98
RGBrgb(26, 63, 152)
HSLhsl(222, 71%, 35%)
HSVhsv(222, 83%, 60%)
CMYKcmyk(82.9%, 58.6%, 0%, 40.4%)
CIE-LABlab(29.51, 21.73, -52.32)
CIE-LCHlch(29.51, 56.65, 292.56°)
OKLaboklab(40.02% -0.0165 -0.1512)
OKLCHoklch(40.02% 0.152 263.8)
XYZxyz(7.8690, 6.0407, 30.4509)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3F98 #98731A
analogous
#1A7E98 #1A3F98 #341A98
triadic
#1A3F98 #981A3F #3F981A
tetradic
#1A3F98 #981A7E #98731A #1A9834
square
#1A3F98 #981A7E #98731A #1A9834
split-complementary
#1A3F98 #98341A #7E981A
monochromatic
#08142F #112964 #1A3F98 #2355CC #4C78E0

Accessibility & contrast

On white

9.51
#1A3F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A3F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3F98
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3F98#FFFFFF#000000##FFFFFF
##1A3F981.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a3f98;
/* rgb */ color: rgb(26, 63, 152);
/* oklch */ color: oklch(40.0% 0.152 263.8);
Tailwind
colors: {
  custom: {
    50: '#6e73b7',
    500: '#1a3f98',
    950: '#000000',
  },
}
SCSS
$custom: #1a3f98;
$custom-light: #6e73b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3f98",
  "rgb": {
    "r": 26,
    "g": 63,
    "b": 152
  },
  "hsl": {
    "h": 222.381,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40023,
    "c": 0.15207,
    "h": 263.8
  },
  "luminance": 0.06042
}

Semantic roles & 50–950 ramp

primary
#1A3F98
secondary
#C29F4B
accent
#B93AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A3F98

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

Preview Lab → · Contrast checker → · Palette generator →

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