#1A2C75#1A2C75

#1A2C75 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.9% C 0.127 H 268.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#1A2C75
RGBrgb(26, 44, 117)
HSLhsl(228, 64%, 28%)
HSVhsv(228, 78%, 46%)
CMYKcmyk(77.8%, 62.4%, 0%, 54.1%)
CIE-LABlab(21.23, 20.91, -43.99)
CIE-LCHlch(21.23, 48.70, 295.43°)
OKLaboklab(32.89% -0.0045 -0.127)
OKLCHoklch(32.89% 0.127 268)
XYZxyz(4.5365, 3.3048, 17.2250)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C75 #75631A
analogous
#1A5975 #1A2C75 #351A75
triadic
#1A2C75 #751A2C #2C751A
tetradic
#1A2C75 #751A59 #75631A #1A7535
square
#1A2C75 #751A59 #75631A #1A7535
split-complementary
#1A2C75 #75351A #59751A
monochromatic
#060919 #0F1943 #1A2C75 #253FA7 #3756D3

Accessibility & contrast

On white

12.64
#1A2C75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2C75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C75
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C75#FFFFFF#000000##FFFFFF
##1A2C751.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003777
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2c75;
/* rgb */ color: rgb(26, 44, 117);
/* oklch */ color: oklch(32.9% 0.127 268.0);
Tailwind
colors: {
  custom: {
    50: '#66649d',
    500: '#1a2c75',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c75;
$custom-light: #66649d;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c75",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 228.132,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.1271,
    "h": 268
  },
  "luminance": 0.03305
}

Semantic roles & 50–950 ramp

primary
#1A2C75
secondary
#AA9541
accent
#C641E7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #1A2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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