#1A147B#1A147B

#1A147B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.5% C 0.162 H 272.7°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#1A147B
RGBrgb(26, 20, 123)
HSLhsl(243, 72%, 28%)
HSVhsv(243, 84%, 48%)
CMYKcmyk(78.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(16.25, 38.45, -56.01)
CIE-LCHlch(16.25, 67.93, 304.47°)
OKLaboklab(29.49% 0.0078 -0.162)
OKLCHoklch(29.49% 0.162 272.7)
XYZxyz(4.2501, 2.1495, 18.9260)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A147B #757B14
analogous
#14417B #1A147B #4D147B
triadic
#1A147B #7B1A14 #147B1A
tetradic
#1A147B #7B1441 #757B14 #147B4D
square
#1A147B #7B1441 #757B14 #147B4D
split-complementary
#1A147B #7B4D14 #417B14
monochromatic
#06041A #0F0B46 #1A147B #251DB0 #372DDD

Accessibility & contrast

On white

14.69
#1A147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#1A147B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A147B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A147B#FFFFFF#000000##FFFFFF
##1A147B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D7E
Deuteranopia (green-blind)
#002379
Tritanopia (blue-blind)
#003448
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #1a147b;
/* rgb */ color: rgb(26, 20, 123);
/* oklch */ color: oklch(29.5% 0.162 272.7);
Tailwind
colors: {
  custom: {
    50: '#6a55a2',
    500: '#1a147b',
    950: '#000000',
  },
}
SCSS
$custom: #1a147b;
$custom-light: #6a55a2;
$custom-dark: #000000;
JSON
{
  "hex": "#1a147b",
  "rgb": {
    "r": 26,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 243.495,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.29493,
    "c": 0.16224,
    "h": 272.7
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#1A147B
secondary
#AAB13A
accent
#EF39E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F

Preview Lab

Preview with #1A147B

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

Preview Lab → · Contrast checker → · Palette generator →

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