#1A2A63#1A2A63

#1A2A63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.103 H 268.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#1A2A63
RGBrgb(26, 42, 99)
HSLhsl(227, 58%, 25%)
HSVhsv(227, 74%, 39%)
CMYKcmyk(73.7%, 57.6%, 0%, 61.2%)
CIE-LABlab(19.12, 15.04, -35.74)
CIE-LCHlch(19.12, 38.77, 292.82°)
OKLaboklab(30.84% -0.0036 -0.1028)
OKLCHoklch(30.84% 0.103 268)
XYZxyz(3.5053, 2.7760, 12.1531)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A63 #63531A
analogous
#1A4F63 #1A2A63 #2E1A63
triadic
#1A2A63 #631A2A #2A631A
tetradic
#1A2A63 #631A4F #63531A #1A632E
square
#1A2A63 #631A4F #63531A #1A632E
split-complementary
#1A2A63 #632E1A #4F631A
monochromatic
#060A18 #0D1533 #1A2A63 #273F93 #3353C4

Accessibility & contrast

On white

13.50
#1A2A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A2A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A63
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A63#FFFFFF#000000##FFFFFF
##1A2A631.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2a63;
/* rgb */ color: rgb(26, 42, 99);
/* oklch */ color: oklch(30.8% 0.103 268.0);
Tailwind
colors: {
  custom: {
    50: '#616390',
    500: '#1a2a63',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a63;
$custom-light: #616390;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a63",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 226.849,
    "s": 58.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30837,
    "c": 0.10287,
    "h": 268
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#1A2A63
secondary
#998540
accent
#C046E2
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#05050C
muted
#7A797D

Preview Lab

Preview with #1A2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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