#1A498B#1A498B

#1A498B is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.2% C 0.121 H 257.8°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#1A498B
RGBrgb(26, 73, 139)
HSLhsl(215, 68%, 32%)
HSVhsv(215, 81%, 55%)
CMYKcmyk(81.3%, 47.5%, 0%, 45.5%)
CIE-LABlab(31.46, 9.58, -41.21)
CIE-LCHlch(31.46, 42.31, 283.09°)
OKLaboklab(41.2% -0.0256 -0.1183)
OKLCHoklch(41.2% 0.121 257.8)
XYZxyz(7.4670, 6.8479, 25.3493)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A498B #8B5C1A
analogous
#1A828B #1A498B #231A8B
triadic
#1A498B #8B1A49 #498B1A
tetradic
#1A498B #8B1A82 #8B5C1A #1A8B23
square
#1A498B #8B1A82 #8B5C1A #1A8B23
split-complementary
#1A498B #8B231A #828B1A
monochromatic
#071324 #102E57 #1A498B #2464BF #4383DC

Accessibility & contrast

On white

8.86
#1A498B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#1A498B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A498B
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A498B#FFFFFF#000000##FFFFFF
##1A498B1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254F8D
Deuteranopia (green-blind)
#08458A
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #1a498b;
/* rgb */ color: rgb(26, 73, 139);
/* oklch */ color: oklch(41.2% 0.121 257.8);
Tailwind
colors: {
  custom: {
    50: '#6a7bad',
    500: '#1a498b',
    950: '#000000',
  },
}
SCSS
$custom: #1a498b;
$custom-light: #6a7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a498b",
  "rgb": {
    "r": 26,
    "g": 73,
    "b": 139
  },
  "hsl": {
    "h": 215.044,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.12105,
    "h": 257.8
  },
  "luminance": 0.06849
}

Semantic roles & 50–950 ramp

primary
#1A498B
secondary
#BD8B44
accent
#A33CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #1A498B

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

Preview Lab → · Contrast checker → · Palette generator →

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