#1A438B#1A438B

#1A438B is a dark, vivid blue. Relative luminance 0.061; OKLCH L 39.8% C 0.129 H 260.8°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#1A438B
RGBrgb(26, 67, 139)
HSLhsl(218, 68%, 32%)
HSVhsv(218, 81%, 55%)
CMYKcmyk(81.3%, 51.8%, 0%, 45.5%)
CIE-LABlab(29.66, 13.70, -44.12)
CIE-LCHlch(29.66, 46.19, 287.25°)
OKLaboklab(39.81% -0.0207 -0.127)
OKLCHoklch(39.81% 0.129 260.8)
XYZxyz(7.0917, 6.0972, 25.2242)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A438B #8B621A
analogous
#1A7C8B #1A438B #291A8B
triadic
#1A438B #8B1A43 #438B1A
tetradic
#1A438B #8B1A7C #8B621A #1A8B29
square
#1A438B #8B1A7C #8B621A #1A8B29
split-complementary
#1A438B #8B291A #7C8B1A
monochromatic
#071124 #102A57 #1A438B #245CBF #437BDC

Accessibility & contrast

On white

9.46
#1A438B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#1A438B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A438B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A438B#FFFFFF#000000##FFFFFF
##1A438B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8E
Deuteranopia (green-blind)
#00418A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a438b;
/* rgb */ color: rgb(26, 67, 139);
/* oklch */ color: oklch(39.8% 0.129 260.8);
Tailwind
colors: {
  custom: {
    50: '#6a76ad',
    500: '#1a438b',
    950: '#000000',
  },
}
SCSS
$custom: #1a438b;
$custom-light: #6a76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1a438b",
  "rgb": {
    "r": 26,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 218.23,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.39812,
    "c": 0.12865,
    "h": 260.8
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#1A438B
secondary
#BD9144
accent
#AC3CEB
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #1A438B

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

Preview Lab → · Contrast checker → · Palette generator →

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