#1A398C#1A398C

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

Color values

HEX#1A398C
RGBrgb(26, 57, 140)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 81%, 55%)
CMYKcmyk(81.4%, 59.3%, 0%, 45.1%)
CIE-LABlab(26.84, 21.06, -49.30)
CIE-LCHlch(26.84, 53.61, 293.13°)
OKLaboklab(37.71% -0.0131 -0.1424)
OKLCHoklch(37.71% 0.143 264.7)
XYZxyz(6.6211, 5.0385, 25.4294)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A398C #8C6D1A
analogous
#1A728C #1A398C #341A8C
triadic
#1A398C #8C1A39 #398C1A
tetradic
#1A398C #8C1A72 #8C6D1A #1A8C34
square
#1A398C #8C1A72 #8C6D1A #1A8C34
split-complementary
#1A398C #8C341A #728C1A
monochromatic
#070F25 #102458 #1A398C #244EC0 #446DDC

Accessibility & contrast

On white

10.46
#1A398C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#1A398C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A398C
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A398C#FFFFFF#000000##FFFFFF
##1A398C1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a398c;
/* rgb */ color: rgb(26, 57, 140);
/* oklch */ color: oklch(37.7% 0.143 264.7);
Tailwind
colors: {
  custom: {
    50: '#6b6eae',
    500: '#1a398c',
    950: '#000000',
  },
}
SCSS
$custom: #1a398c;
$custom-light: #6b6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#1a398c",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 223.684,
    "s": 68.675,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37706,
    "c": 0.14301,
    "h": 264.7
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#1A398C
secondary
#BE9D44
accent
#BC3CEC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A398C

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

Preview Lab → · Contrast checker → · Palette generator →

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