#1A2B7F#1A2B7F

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

Color values

HEX#1A2B7F
RGBrgb(26, 43, 127)
HSLhsl(230, 66%, 30%)
HSVhsv(230, 80%, 50%)
CMYKcmyk(79.5%, 66.1%, 0%, 50.2%)
CIE-LABlab(21.87, 25.60, -49.29)
CIE-LCHlch(21.87, 55.54, 297.44°)
OKLaboklab(33.65% -0.004 -0.1426)
OKLCHoklch(33.65% 0.143 268.4)
XYZxyz(5.1193, 3.4791, 20.4763)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B7F #7F6E1A
analogous
#1A5D7F #1A2B7F #3C1A7F
triadic
#1A2B7F #7F1A2B #2B7F1A
tetradic
#1A2B7F #7F1A5D #7F6E1A #1A7F3C
square
#1A2B7F #7F1A5D #7F6E1A #1A7F3C
split-complementary
#1A2B7F #7F3C1A #5D7F1A
monochromatic
#050919 #101A4C #1A2B7F #243CB2 #3C56D7

Accessibility & contrast

On white

12.38
#1A2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#1A2B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B7F
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B7F#FFFFFF#000000##FFFFFF
##1A2B7F1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a2b7f;
/* rgb */ color: rgb(26, 43, 127);
/* oklch */ color: oklch(33.6% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#6864a5',
    500: '#1a2b7f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b7f;
$custom-light: #6864a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b7f",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 229.901,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.33649,
    "c": 0.14265,
    "h": 268.4
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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