#1A247A#1A247A

#1A247A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.8% C 0.144 H 270.3°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#1A247A
RGBrgb(26, 36, 122)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 48%)
CMYKcmyk(78.7%, 70.5%, 0%, 52.2%)
CIE-LABlab(19.58, 28.43, -49.87)
CIE-LCHlch(19.58, 57.41, 299.68°)
OKLaboklab(31.83% 0.0006 -0.1443)
OKLCHoklch(31.83% 0.144 270.3)
XYZxyz(4.5685, 2.8860, 18.7249)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A247A #7A701A
analogous
#1A547A #1A247A #401A7A
triadic
#1A247A #7A1A24 #247A1A
tetradic
#1A247A #7A1A54 #7A701A #1A7A40
square
#1A247A #7A1A54 #7A701A #1A7A40
split-complementary
#1A247A #7A401A #547A1A
monochromatic
#050719 #0F1548 #1A247A #2533AC #394AD5

Accessibility & contrast

On white

13.31
#1A247A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A247A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A247A#FFFFFF#000000##FFFFFF
##1A247A1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002B78
Tritanopia (blue-blind)
#003B4C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a247a;
/* rgb */ color: rgb(26, 36, 122);
/* oklch */ color: oklch(31.8% 0.144 270.3);
Tailwind
colors: {
  custom: {
    50: '#685fa1',
    500: '#1a247a',
    950: '#000000',
  },
}
SCSS
$custom: #1a247a;
$custom-light: #685fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#1a247a",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 233.75,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.31827,
    "c": 0.14433,
    "h": 270.3
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#1A247A
secondary
#AEA341
accent
#D640E8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A247A

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

Preview Lab → · Contrast checker → · Palette generator →

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