#1A398E#1A398E

#1A398E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.146 H 264.9°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#1A398E
RGBrgb(26, 57, 142)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 82%, 56%)
CMYKcmyk(81.7%, 59.9%, 0%, 44.3%)
CIE-LABlab(27.01, 21.86, -50.26)
CIE-LCHlch(27.01, 54.81, 293.51°)
OKLaboklab(37.89% -0.013 -0.1452)
OKLCHoklch(37.89% 0.146 264.9)
XYZxyz(6.7699, 5.0981, 26.2132)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A398E #8E6F1A
analogous
#1A738E #1A398E #351A8E
triadic
#1A398E #8E1A39 #398E1A
tetradic
#1A398E #8E1A73 #8E6F1A #1A8E35
square
#1A398E #8E1A73 #8E6F1A #1A8E35
split-complementary
#1A398E #8E351A #738E1A
monochromatic
#070F27 #11245A #1A398E #234EC2 #456EDD

Accessibility & contrast

On white

10.40
#1A398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#1A398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A398E
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A398E#FFFFFF#000000##FFFFFF
##1A398E1.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#004F5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a398e;
/* rgb */ color: rgb(26, 57, 142);
/* oklch */ color: oklch(37.9% 0.146 264.9);
Tailwind
colors: {
  custom: {
    50: '#6b6eb0',
    500: '#1a398e',
    950: '#000000',
  },
}
SCSS
$custom: #1a398e;
$custom-light: #6b6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a398e",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 223.966,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.14582,
    "h": 264.9
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#1A398E
secondary
#BE9E45
accent
#BD3CEC
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A398E

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

Preview Lab → · Contrast checker → · Palette generator →

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