#1A2B7E#1A2B7E

#1A2B7E is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.141 H 268.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#1A2B7E
RGBrgb(26, 43, 126)
HSLhsl(230, 66%, 30%)
HSVhsv(230, 79%, 49%)
CMYKcmyk(79.4%, 65.9%, 0%, 50.6%)
CIE-LABlab(21.77, 25.20, -48.82)
CIE-LCHlch(21.77, 54.94, 297.31°)
OKLaboklab(33.55% -0.0039 -0.1412)
OKLCHoklch(33.55% 0.141 268.4)
XYZxyz(5.0545, 3.4532, 20.1348)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B7E #7E6D1A
analogous
#1A5D7E #1A2B7E #3B1A7E
triadic
#1A2B7E #7E1A2B #2B7E1A
tetradic
#1A2B7E #7E1A5D #7E6D1A #1A7E3B
square
#1A2B7E #7E1A5D #7E6D1A #1A7E3B
split-complementary
#1A2B7E #7E3B1A #5D7E1A
monochromatic
#050919 #101A4B #1A2B7E #243CB1 #3C56D7

Accessibility & contrast

On white

12.42
#1A2B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#1A2B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B7E
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B7E#FFFFFF#000000##FFFFFF
##1A2B7E1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2b7e;
/* rgb */ color: rgb(26, 43, 126);
/* oklch */ color: oklch(33.6% 0.141 268.4);
Tailwind
colors: {
  custom: {
    50: '#6864a4',
    500: '#1a2b7e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b7e;
$custom-light: #6864a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b7e",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 229.8,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3355,
    "c": 0.14124,
    "h": 268.4
  },
  "luminance": 0.03454
}

Semantic roles & 50–950 ramp

primary
#1A2B7E
secondary
#B29F42
accent
#CC3FE9
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1A2B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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