#1A3097#1A3097

#1A3097 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.169 H 267.3°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#1A3097
RGBrgb(26, 48, 151)
HSLhsl(229, 71%, 35%)
HSVhsv(229, 83%, 59%)
CMYKcmyk(82.8%, 68.2%, 0%, 40.8%)
CIE-LABlab(25.46, 31.53, -58.34)
CIE-LCHlch(25.46, 66.31, 298.39°)
OKLaboklab(36.99% -0.008 -0.169)
OKLCHoklch(36.99% 0.169 267.3)
XYZxyz(7.0669, 4.5670, 29.7812)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3097 #97811A
analogous
#1A6F97 #1A3097 #431A97
triadic
#1A3097 #971A30 #30971A
tetradic
#1A3097 #971A6F #97811A #1A9743
square
#1A3097 #971A6F #97811A #1A9743
split-complementary
#1A3097 #97431A #6F971A
monochromatic
#080F2F #111F63 #1A3097 #2341CB #4B66E0

Accessibility & contrast

On white

10.97
#1A3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#1A3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3097
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3097#FFFFFF#000000##FFFFFF
##1A30971.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003695
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #1a3097;
/* rgb */ color: rgb(26, 48, 151);
/* oklch */ color: oklch(37.0% 0.169 267.3);
Tailwind
colors: {
  custom: {
    50: '#6f68b7',
    500: '#1a3097',
    950: '#000000',
  },
}
SCSS
$custom: #1a3097;
$custom-light: #6f68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3097",
  "rgb": {
    "r": 26,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 229.44,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36991,
    "c": 0.16917,
    "h": 267.3
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#1A3097
secondary
#C2AD4B
accent
#CE3AED
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #1A3097

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

Preview Lab → · Contrast checker → · Palette generator →

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