#1A398A#1A398A

#1A398A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.5% C 0.140 H 264.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#1A398A
RGBrgb(26, 57, 138)
HSLhsl(223, 68%, 32%)
HSVhsv(223, 81%, 54%)
CMYKcmyk(81.2%, 58.7%, 0%, 45.9%)
CIE-LABlab(26.68, 20.25, -48.33)
CIE-LCHlch(26.68, 52.40, 292.73°)
OKLaboklab(37.53% -0.0132 -0.1396)
OKLCHoklch(37.53% 0.14 264.6)
XYZxyz(6.4749, 4.9801, 24.6598)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A398A #8A6B1A
analogous
#1A718A #1A398A #331A8A
triadic
#1A398A #8A1A39 #398A1A
tetradic
#1A398A #8A1A71 #8A6B1A #1A8A33
square
#1A398A #8A1A71 #8A6B1A #1A8A33
split-complementary
#1A398A #8A331A #718A1A
monochromatic
#070E23 #102457 #1A398A #244EBD #436DDC

Accessibility & contrast

On white

10.52
#1A398A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#1A398A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A398A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A398A#FFFFFF#000000##FFFFFF
##1A398A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a398a;
/* rgb */ color: rgb(26, 57, 138);
/* oklch */ color: oklch(37.5% 0.140 264.6);
Tailwind
colors: {
  custom: {
    50: '#6a6ead',
    500: '#1a398a',
    950: '#000000',
  },
}
SCSS
$custom: #1a398a;
$custom-light: #6a6ead;
$custom-dark: #000000;
JSON
{
  "hex": "#1a398a",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 223.393,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.37529,
    "c": 0.14019,
    "h": 264.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#1A398A
secondary
#BD9B43
accent
#BB3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A398A

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

Preview Lab → · Contrast checker → · Palette generator →

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