#1A2C7A#1A2C7A

#1A2C7A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.134 H 268.1°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#1A2C7A
RGBrgb(26, 44, 122)
HSLhsl(229, 65%, 29%)
HSVhsv(229, 79%, 48%)
CMYKcmyk(78.7%, 63.9%, 0%, 52.2%)
CIE-LABlab(21.67, 22.92, -46.44)
CIE-LCHlch(21.67, 51.79, 296.27°)
OKLaboklab(33.36% -0.0045 -0.1342)
OKLCHoklch(33.36% 0.134 268.1)
XYZxyz(4.8383, 3.4256, 18.8148)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C7A #7A681A
analogous
#1A5C7A #1A2C7A #381A7A
triadic
#1A2C7A #7A1A2C #2C7A1A
tetradic
#1A2C7A #7A1A5C #7A681A #1A7A38
square
#1A2C7A #7A1A5C #7A681A #1A7A38
split-complementary
#1A2C7A #7A381A #5C7A1A
monochromatic
#050919 #0F1A48 #1A2C7A #253EAC #3957D5

Accessibility & contrast

On white

12.46
#1A2C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C7A
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C7A#FFFFFF#000000##FFFFFF
##1A2C7A1.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2c7a;
/* rgb */ color: rgb(26, 44, 122);
/* oklch */ color: oklch(33.4% 0.134 268.1);
Tailwind
colors: {
  custom: {
    50: '#6764a1',
    500: '#1a2c7a',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c7a;
$custom-light: #6764a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c7a",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 228.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33362,
    "c": 0.13431,
    "h": 268.1
  },
  "luminance": 0.03426
}

Semantic roles & 50–950 ramp

primary
#1A2C7A
secondary
#AE9A41
accent
#C840E8
background
#F6F6FA
surface
#EBEBF3
border
#C6C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #1A2C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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