#1A388E#1A388E

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

Color values

HEX#1A388E
RGBrgb(26, 56, 142)
HSLhsl(224, 69%, 33%)
HSVhsv(224, 82%, 56%)
CMYKcmyk(81.7%, 60.6%, 0%, 44.3%)
CIE-LABlab(26.74, 22.56, -50.71)
CIE-LCHlch(26.74, 55.50, 293.98°)
OKLaboklab(37.68% -0.0124 -0.1466)
OKLCHoklch(37.68% 0.147 265.2)
XYZxyz(6.7209, 5.0002, 26.1968)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A388E #8E701A
analogous
#1A728E #1A388E #361A8E
triadic
#1A388E #8E1A38 #388E1A
tetradic
#1A388E #8E1A72 #8E701A #1A8E36
square
#1A388E #8E1A72 #8E701A #1A8E36
split-complementary
#1A388E #8E361A #728E1A
monochromatic
#070F27 #11245A #1A388E #234CC2 #456DDD

Accessibility & contrast

On white

10.50
#1A388E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A388E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A388E#FFFFFF#000000##FFFFFF
##1A388E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#004E5D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #1a388e;
/* rgb */ color: rgb(26, 56, 142);
/* oklch */ color: oklch(37.7% 0.147 265.2);
Tailwind
colors: {
  custom: {
    50: '#6b6eb0',
    500: '#1a388e',
    950: '#000000',
  },
}
SCSS
$custom: #1a388e;
$custom-light: #6b6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#1a388e",
  "rgb": {
    "r": 26,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 224.483,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37677,
    "c": 0.1471,
    "h": 265.2
  },
  "luminance": 0.05001
}

Semantic roles & 50–950 ramp

primary
#1A388E
secondary
#BE9F45
accent
#BE3CEC
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #1A388E

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

Preview Lab → · Contrast checker → · Palette generator →

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