#1A2B74#1A2B74

#1A2B74 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.6% C 0.127 H 268.3°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#1A2B74
RGBrgb(26, 43, 116)
HSLhsl(229, 63%, 28%)
HSVhsv(229, 78%, 45%)
CMYKcmyk(77.6%, 62.9%, 0%, 54.5%)
CIE-LABlab(20.86, 21.22, -43.95)
CIE-LCHlch(20.86, 48.80, 295.78°)
OKLaboklab(32.59% -0.0038 -0.1269)
OKLCHoklch(32.59% 0.127 268.3)
XYZxyz(4.4412, 3.2078, 16.9047)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B74 #74631A
analogous
#1A5874 #1A2B74 #361A74
triadic
#1A2B74 #741A2B #2B741A
tetradic
#1A2B74 #741A58 #74631A #1A7436
square
#1A2B74 #741A58 #74631A #1A7436
split-complementary
#1A2B74 #74361A #58741A
monochromatic
#060919 #0F1842 #1A2B74 #253EA6 #3654D2

Accessibility & contrast

On white

12.79
#1A2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1A2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B74
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B74#FFFFFF#000000##FFFFFF
##1A2B741.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1a2b74;
/* rgb */ color: rgb(26, 43, 116);
/* oklch */ color: oklch(32.6% 0.127 268.3);
Tailwind
colors: {
  custom: {
    50: '#65649d',
    500: '#1a2b74',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b74;
$custom-light: #65649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b74",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 228.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32589,
    "c": 0.12697,
    "h": 268.3
  },
  "luminance": 0.03208
}

Semantic roles & 50–950 ramp

primary
#1A2B74
secondary
#A99541
accent
#C741E6
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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