#1A2A7C#1A2A7C

#1A2A7C is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.140 H 268.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#1A2A7C
RGBrgb(26, 42, 124)
HSLhsl(230, 65%, 29%)
HSVhsv(230, 79%, 49%)
CMYKcmyk(79%, 66.1%, 0%, 51.4%)
CIE-LABlab(21.32, 25.11, -48.29)
CIE-LCHlch(21.32, 54.43, 297.47°)
OKLaboklab(33.16% -0.0032 -0.1397)
OKLCHoklch(33.16% 0.14 268.7)
XYZxyz(4.8908, 3.3302, 19.4499)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2A7C #7C6C1A
analogous
#1A5B7C #1A2A7C #3B1A7C
triadic
#1A2A7C #7C1A2A #2A7C1A
tetradic
#1A2A7C #7C1A5B #7C6C1A #1A7C3B
square
#1A2A7C #7C1A5B #7C6C1A #1A7C3B
split-complementary
#1A2A7C #7C3B1A #5B7C1A
monochromatic
#050919 #0F1949 #1A2A7C #253BAF #3B54D6

Accessibility & contrast

On white

12.60
#1A2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1A2A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2A7C
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2A7C#FFFFFF#000000##FFFFFF
##1A2A7C1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2a7c;
/* rgb */ color: rgb(26, 42, 124);
/* oklch */ color: oklch(33.2% 0.140 268.7);
Tailwind
colors: {
  custom: {
    50: '#6863a3',
    500: '#1a2a7c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2a7c;
$custom-light: #6863a3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2a7c",
  "rgb": {
    "r": 26,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 230.204,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33158,
    "c": 0.13971,
    "h": 268.7
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#1A2A7C
secondary
#B09E42
accent
#CD40E8
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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