#1A2F73#1A2F73

#1A2F73 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.120 H 266.7°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#1A2F73
RGBrgb(26, 47, 115)
HSLhsl(226, 63%, 28%)
HSVhsv(226, 77%, 45%)
CMYKcmyk(77.4%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.91, 17.96, -41.59)
CIE-LCHlch(21.91, 45.31, 293.36°)
OKLaboklab(33.35% -0.0069 -0.1199)
OKLCHoklch(33.35% 0.12 266.7)
XYZxyz(4.5359, 3.4900, 16.6509)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2F73 #735E1A
analogous
#1A5B73 #1A2F73 #321A73
triadic
#1A2F73 #731A2F #2F731A
tetradic
#1A2F73 #731A5B #735E1A #1A7332
square
#1A2F73 #731A5B #735E1A #1A7332
split-complementary
#1A2F73 #73321A #5B731A
monochromatic
#060A19 #0F1B41 #1A2F73 #2543A5 #365BD2

Accessibility & contrast

On white

12.37
#1A2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2F73
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2F73#FFFFFF#000000##FFFFFF
##1A2F731.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003172
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2f73;
/* rgb */ color: rgb(26, 47, 115);
/* oklch */ color: oklch(33.3% 0.120 266.7);
Tailwind
colors: {
  custom: {
    50: '#65679c',
    500: '#1a2f73',
    950: '#000000',
  },
}
SCSS
$custom: #1a2f73;
$custom-light: #65679c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2f73",
  "rgb": {
    "r": 26,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 225.843,
    "s": 63.121,
    "l": 27.647
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.12015,
    "h": 266.7
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#1A2F73
secondary
#A89041
accent
#BF42E6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #1A2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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