#1A398B#1A398B

#1A398B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.142 H 264.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#1A398B
RGBrgb(26, 57, 139)
HSLhsl(224, 68%, 32%)
HSVhsv(224, 81%, 55%)
CMYKcmyk(81.3%, 59%, 0%, 45.5%)
CIE-LABlab(26.76, 20.65, -48.81)
CIE-LCHlch(26.76, 53.00, 292.93°)
OKLaboklab(37.62% -0.0132 -0.141)
OKLCHoklch(37.62% 0.142 264.7)
XYZxyz(6.5477, 5.0092, 25.0429)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A398B #8B6C1A
analogous
#1A718B #1A398B #341A8B
triadic
#1A398B #8B1A39 #398B1A
tetradic
#1A398B #8B1A71 #8B6C1A #1A8B34
square
#1A398B #8B1A71 #8B6C1A #1A8B34
split-complementary
#1A398B #8B341A #718B1A
monochromatic
#070F24 #102457 #1A398B #244EBF #436DDC

Accessibility & contrast

On white

10.49
#1A398B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A398B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A398B#FFFFFF#000000##FFFFFF
##1A398B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a398b;
/* rgb */ color: rgb(26, 57, 139);
/* oklch */ color: oklch(37.6% 0.142 264.7);
Tailwind
colors: {
  custom: {
    50: '#6a6eae',
    500: '#1a398b',
    950: '#000000',
  },
}
SCSS
$custom: #1a398b;
$custom-light: #6a6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a398b",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 223.54,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.14161,
    "h": 264.7
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#1A398B
secondary
#BD9C44
accent
#BB3CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A398B

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

Preview Lab → · Contrast checker → · Palette generator →

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