#1A2C63#1A2C63

#1A2C63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.100 H 266.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#1A2C63
RGBrgb(26, 44, 99)
HSLhsl(225, 58%, 25%)
HSVhsv(225, 74%, 39%)
CMYKcmyk(73.7%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.73, 13.58, -34.76)
CIE-LCHlch(19.73, 37.32, 291.34°)
OKLaboklab(31.29% -0.0055 -0.0999)
OKLCHoklch(31.29% 0.1 266.9)
XYZxyz(3.5780, 2.9215, 12.1773)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2C63 #63511A
analogous
#1A5163 #1A2C63 #2C1A63
triadic
#1A2C63 #631A2C #2C631A
tetradic
#1A2C63 #631A51 #63511A #1A632C
square
#1A2C63 #631A51 #63511A #1A632C
split-complementary
#1A2C63 #632C1A #51631A
monochromatic
#060B18 #0D1633 #1A2C63 #274293 #3357C4

Accessibility & contrast

On white

13.25
#1A2C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2C63
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2C63#FFFFFF#000000##FFFFFF
##1A2C631.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083365
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2c63;
/* rgb */ color: rgb(26, 44, 99);
/* oklch */ color: oklch(31.3% 0.100 266.9);
Tailwind
colors: {
  custom: {
    50: '#616490',
    500: '#1a2c63',
    950: '#000000',
  },
}
SCSS
$custom: #1a2c63;
$custom-light: #616490;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2c63",
  "rgb": {
    "r": 26,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 225.205,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.10005,
    "h": 266.9
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#1A2C63
secondary
#998340
accent
#BB46E2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A2C63

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

Preview Lab → · Contrast checker → · Palette generator →

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