#1A398D#1A398D

#1A398D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.144 H 264.8°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#1A398D
RGBrgb(26, 57, 141)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 82%, 55%)
CMYKcmyk(81.6%, 59.6%, 0%, 44.7%)
CIE-LABlab(26.93, 21.46, -49.78)
CIE-LCHlch(26.93, 54.21, 293.32°)
OKLaboklab(37.8% -0.0131 -0.1438)
OKLCHoklch(37.8% 0.144 264.8)
XYZxyz(6.6951, 5.0682, 25.8195)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A398D #8D6E1A
analogous
#1A728D #1A398D #341A8D
triadic
#1A398D #8D1A39 #398D1A
tetradic
#1A398D #8D1A72 #8D6E1A #1A8D34
square
#1A398D #8D1A72 #8D6E1A #1A8D34
split-complementary
#1A398D #8D341A #728D1A
monochromatic
#070F26 #102459 #1A398D #244EC1 #456EDD

Accessibility & contrast

On white

10.43
#1A398D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A398D
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A398D#FFFFFF#000000##FFFFFF
##1A398D1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #1a398d;
/* rgb */ color: rgb(26, 57, 141);
/* oklch */ color: oklch(37.8% 0.144 264.8);
Tailwind
colors: {
  custom: {
    50: '#6b6eaf',
    500: '#1a398d',
    950: '#000000',
  },
}
SCSS
$custom: #1a398d;
$custom-light: #6b6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#1a398d",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 223.826,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.37795,
    "c": 0.14442,
    "h": 264.8
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#1A398D
secondary
#BE9D45
accent
#BC3CEC
background
#F6F6FA
surface
#ECECF5
border
#C7C7CF
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #1A398D

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

Preview Lab → · Contrast checker → · Palette generator →

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