#1A396F#1A396F

#1A396F is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.101 H 260.6°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#1A396F
RGBrgb(26, 57, 111)
HSLhsl(218, 62%, 27%)
HSVhsv(218, 77%, 44%)
CMYKcmyk(76.6%, 48.6%, 0%, 56.5%)
CIE-LABlab(24.62, 9.19, -34.65)
CIE-LCHlch(24.62, 35.85, 284.85°)
OKLaboklab(35.31% -0.0164 -0.0993)
OKLCHoklch(35.31% 0.101 260.6)
XYZxyz(4.7573, 4.2930, 15.6138)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A396F #6F501A
analogous
#1A646F #1A396F #261A6F
triadic
#1A396F #6F1A39 #396F1A
tetradic
#1A396F #6F1A64 #6F501A #1A6F26
square
#1A396F #6F1A64 #6F501A #1A6F26
split-complementary
#1A396F #6F261A #646F1A
monochromatic
#060D19 #0E203D #1A396F #2652A1 #346DCF

Accessibility & contrast

On white

11.30
#1A396F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#1A396F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A396F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A396F#FFFFFF#000000##FFFFFF
##1A396F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#09376E
Tritanopia (blue-blind)
#00464E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #1a396f;
/* rgb */ color: rgb(26, 57, 111);
/* oklch */ color: oklch(35.3% 0.101 260.6);
Tailwind
colors: {
  custom: {
    50: '#636e99',
    500: '#1a396f',
    950: '#000000',
  },
}
SCSS
$custom: #1a396f;
$custom-light: #636e99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a396f",
  "rgb": {
    "r": 26,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 218.118,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3531,
    "c": 0.10068,
    "h": 260.6
  },
  "luminance": 0.04294
}

Semantic roles & 50–950 ramp

primary
#1A396F
secondary
#A48041
accent
#AA43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #1A396F

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

Preview Lab → · Contrast checker → · Palette generator →

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