#1A2C83#1A2C83

#1A2C83 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.147 H 268.1°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#1A2C83
RGBrgb(26, 44, 131)
HSLhsl(230, 67%, 31%)
HSVhsv(230, 80%, 51%)
CMYKcmyk(80.2%, 66.4%, 0%, 48.6%)
CIE-LABlab(22.51, 26.48, -50.76)
CIE-LCHlch(22.51, 57.26, 297.55°)
OKLaboklab(34.24% -0.0048 -0.1469)
OKLCHoklch(34.24% 0.147 268.1)
XYZxyz(5.4220, 3.6591, 21.8888)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C83 #83711A
analogous
#1A6083 #1A2C83 #3C1A83
triadic
#1A2C83 #831A2C #2C831A
tetradic
#1A2C83 #831A60 #83711A #1A833C
square
#1A2C83 #831A60 #83711A #1A833C
split-complementary
#1A2C83 #833C1A #60831A
monochromatic
#060A1D #101B50 #1A2C83 #243DB6 #3F59D9

Accessibility & contrast

On white

12.12
#1A2C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1A2C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C83
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C83#FFFFFF#000000##FFFFFF
##1A2C831.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1a2c83;
/* rgb */ color: rgb(26, 44, 131);
/* oklch */ color: oklch(34.2% 0.147 268.1);
Tailwind
colors: {
  custom: {
    50: '#6965a8',
    500: '#1a2c83',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c83;
$custom-light: #6965a8;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c83",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 229.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.14696,
    "h": 268.1
  },
  "luminance": 0.0366
}

Semantic roles & 50–950 ramp

primary
#1A2C83
secondary
#B7A342
accent
#CC3EEA
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#070510
muted
#7A7A7F

Preview Lab

Preview with #1A2C83

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

Preview Lab → · Contrast checker → · Palette generator →

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