#1A4095#1A4095

#1A4095 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.0% C 0.147 H 263.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#1A4095
RGBrgb(26, 64, 149)
HSLhsl(221, 70%, 34%)
HSVhsv(221, 83%, 58%)
CMYKcmyk(82.6%, 57%, 0%, 41.6%)
CIE-LABlab(29.55, 19.84, -50.43)
CIE-LCHlch(29.55, 54.19, 291.48°)
OKLaboklab(39.98% -0.0174 -0.1456)
OKLCHoklch(39.98% 0.147 263.2)
XYZxyz(7.6823, 6.0554, 29.1919)
Luminance0.0606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A4095 #956F1A
analogous
#1A7E95 #1A4095 #311A95
triadic
#1A4095 #951A40 #40951A
tetradic
#1A4095 #951A7E #956F1A #1A9531
square
#1A4095 #951A7E #956F1A #1A9531
split-complementary
#1A4095 #95311A #7E951A
monochromatic
#08132D #112A61 #1A4095 #2356C9 #4A78DF

Accessibility & contrast

On white

9.50
#1A4095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#1A4095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A4095
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A4095#FFFFFF#000000##FFFFFF
##1A40951.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #1a4095;
/* rgb */ color: rgb(26, 64, 149);
/* oklch */ color: oklch(40.0% 0.147 263.2);
Tailwind
colors: {
  custom: {
    50: '#6d74b5',
    500: '#1a4095',
    950: '#000000',
  },
}
SCSS
$custom: #1a4095;
$custom-light: #6d74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a4095",
  "rgb": {
    "r": 26,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 221.463,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.14663,
    "h": 263.2
  },
  "luminance": 0.06056
}

Semantic roles & 50–950 ramp

primary
#1A4095
secondary
#C19C4A
accent
#B63BED
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #1A4095

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

Preview Lab → · Contrast checker → · Palette generator →

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