#1A138F#1A138F

#1A138F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.9% C 0.187 H 270.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1A138F
RGBrgb(26, 19, 143)
HSLhsl(243, 77%, 32%)
HSVhsv(243, 87%, 56%)
CMYKcmyk(81.8%, 86.7%, 0%, 43.9%)
CIE-LABlab(18.66, 45.33, -64.64)
CIE-LCHlch(18.66, 78.95, 305.04°)
OKLaboklab(31.89% 0.0029 -0.187)
OKLCHoklch(31.89% 0.187 270.9)
XYZxyz(5.6151, 2.6679, 26.2003)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A138F #888F13
analogous
#134A8F #1A138F #58138F
triadic
#1A138F #8F1A13 #138F1A
tetradic
#1A138F #8F134A #888F13 #138F58
square
#1A138F #8F134A #888F13 #138F58
split-complementary
#1A138F #8F5813 #4A8F13
monochromatic
#060523 #100C59 #1A138F #241AC5 #4238E5

Accessibility & contrast

On white

13.69
#1A138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A138F
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A138F#FFFFFF#000000##FFFFFF
##1A138F1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003392
Deuteranopia (green-blind)
#00278D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a138f;
/* rgb */ color: rgb(26, 19, 143);
/* oklch */ color: oklch(31.9% 0.187 270.9);
Tailwind
colors: {
  custom: {
    50: '#6f56b1',
    500: '#1a138f',
    950: '#000000',
  },
}
SCSS
$custom: #1a138f;
$custom-light: #6f56b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a138f",
  "rgb": {
    "r": 26,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 243.387,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.31892,
    "c": 0.18703,
    "h": 270.9
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

primary
#1A138F
secondary
#BBC33B
accent
#F335E8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880

Preview Lab

Preview with #1A138F

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

Preview Lab → · Contrast checker → · Palette generator →

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