#1A3274#1A3274

#1A3274 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.118 H 265.4°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#1A3274
RGBrgb(26, 50, 116)
HSLhsl(224, 63%, 28%)
HSVhsv(224, 78%, 45%)
CMYKcmyk(77.6%, 56.9%, 0%, 54.5%)
CIE-LABlab(22.87, 16.23, -40.68)
CIE-LCHlch(22.87, 43.80, 291.75°)
OKLaboklab(34.09% -0.0094 -0.1172)
OKLCHoklch(34.09% 0.118 265.4)
XYZxyz(4.7179, 3.7613, 16.9970)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3274 #745C1A
analogous
#1A5F74 #1A3274 #2F1A74
triadic
#1A3274 #741A32 #32741A
tetradic
#1A3274 #741A5F #745C1A #1A742F
square
#1A3274 #741A5F #745C1A #1A742F
split-complementary
#1A3274 #742F1A #5F741A
monochromatic
#060B19 #0F1C42 #1A3274 #2548A6 #3660D2

Accessibility & contrast

On white

11.98
#1A3274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#1A3274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3274
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3274#FFFFFF#000000##FFFFFF
##1A32741.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1a3274;
/* rgb */ color: rgb(26, 50, 116);
/* oklch */ color: oklch(34.1% 0.118 265.4);
Tailwind
colors: {
  custom: {
    50: '#65699d',
    500: '#1a3274',
    950: '#000000',
  },
}
SCSS
$custom: #1a3274;
$custom-light: #65699d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3274",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 224,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34093,
    "c": 0.11757,
    "h": 265.4
  },
  "luminance": 0.03762
}

Semantic roles & 50–950 ramp

primary
#1A3274
secondary
#A98D41
accent
#BA41E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A3274

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

Preview Lab → · Contrast checker → · Palette generator →

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