#1A3B98#1A3B98

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

Color values

HEX#1A3B98
RGBrgb(26, 59, 152)
HSLhsl(224, 71%, 35%)
HSVhsv(224, 83%, 60%)
CMYKcmyk(82.9%, 61.2%, 0%, 40.4%)
CIE-LABlab(28.42, 24.48, -54.11)
CIE-LCHlch(28.42, 59.39, 294.35°)
OKLaboklab(39.2% -0.014 -0.1565)
OKLCHoklch(39.2% 0.157 264.9)
XYZxyz(7.6555, 5.6136, 30.3797)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3B98 #98771A
analogous
#1A7A98 #1A3B98 #381A98
triadic
#1A3B98 #981A3B #3B981A
tetradic
#1A3B98 #981A7A #98771A #1A9838
square
#1A3B98 #981A7A #98771A #1A9838
split-complementary
#1A3B98 #98381A #7A981A
monochromatic
#08122F #112764 #1A3B98 #234FCC #4C73E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A3B98#FFFFFF#000000##FFFFFF
##1A3B981.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)
#00499B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005363
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1a3b98;
/* rgb */ color: rgb(26, 59, 152);
/* oklch */ color: oklch(39.2% 0.157 264.9);
Tailwind
colors: {
  custom: {
    50: '#6e70b7',
    500: '#1a3b98',
    950: '#000000',
  },
}
SCSS
$custom: #1a3b98;
$custom-light: #6e70b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3b98",
  "rgb": {
    "r": 26,
    "g": 59,
    "b": 152
  },
  "hsl": {
    "h": 224.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.392,
    "c": 0.15712,
    "h": 264.9
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#1A3B98
secondary
#C2A34B
accent
#BF3AEE
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #1A3B98

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

Preview Lab → · Contrast checker → · Palette generator →

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