#1A247C#1A247C

#1A247C is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.147 H 270.2°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#1A247C
RGBrgb(26, 36, 124)
HSLhsl(234, 65%, 29%)
HSVhsv(234, 79%, 49%)
CMYKcmyk(79%, 71%, 0%, 51.4%)
CIE-LABlab(19.79, 29.19, -50.81)
CIE-LCHlch(19.79, 58.60, 299.88°)
OKLaboklab(32.04% 0.0004 -0.1471)
OKLCHoklch(32.04% 0.147 270.2)
XYZxyz(4.6937, 2.9361, 19.3842)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A247C #7C721A
analogous
#1A557C #1A247C #411A7C
triadic
#1A247C #7C1A24 #247C1A
tetradic
#1A247C #7C1A55 #7C721A #1A7C41
square
#1A247C #7C1A55 #7C721A #1A7C41
split-complementary
#1A247C #7C411A #557C1A
monochromatic
#050719 #0F1549 #1A247C #2533AF #3B4AD6

Accessibility & contrast

On white

13.23
#1A247C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1A247C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A247C
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A247C#FFFFFF#000000##FFFFFF
##1A247C1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a247c;
/* rgb */ color: rgb(26, 36, 124);
/* oklch */ color: oklch(32.0% 0.147 270.2);
Tailwind
colors: {
  custom: {
    50: '#685fa3',
    500: '#1a247c',
    950: '#000000',
  },
}
SCSS
$custom: #1a247c;
$custom-light: #685fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#1a247c",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 124
  },
  "hsl": {
    "h": 233.878,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32037,
    "c": 0.14707,
    "h": 270.2
  },
  "luminance": 0.02937
}

Semantic roles & 50–950 ramp

primary
#1A247C
secondary
#B0A542
accent
#D740E8
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A247C

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

Preview Lab → · Contrast checker → · Palette generator →

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