#1A247F#1A247F

#1A247F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.4% C 0.151 H 270.0°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#1A247F
RGBrgb(26, 36, 127)
HSLhsl(234, 66%, 30%)
HSVhsv(234, 80%, 50%)
CMYKcmyk(79.5%, 71.7%, 0%, 50.2%)
CIE-LABlab(20.10, 30.33, -52.20)
CIE-LCHlch(20.10, 60.38, 300.15°)
OKLaboklab(32.36% 0.0001 -0.1511)
OKLCHoklch(32.36% 0.151 270)
XYZxyz(4.8863, 3.0131, 20.3986)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A247F #7F751A
analogous
#1A577F #1A247F #421A7F
triadic
#1A247F #7F1A24 #247F1A
tetradic
#1A247F #7F1A57 #7F751A #1A7F42
square
#1A247F #7F1A57 #7F751A #1A7F42
split-complementary
#1A247F #7F421A #577F1A
monochromatic
#050719 #10164C #1A247F #2432B2 #3C4CD7

Accessibility & contrast

On white

13.10
#1A247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1A247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A247F
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A247F#FFFFFF#000000##FFFFFF
##1A247F1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a247f;
/* rgb */ color: rgb(26, 36, 127);
/* oklch */ color: oklch(32.4% 0.151 270.0);
Tailwind
colors: {
  custom: {
    50: '#695fa5',
    500: '#1a247f',
    950: '#000000',
  },
}
SCSS
$custom: #1a247f;
$custom-light: #695fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#1a247f",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 234.059,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.32356,
    "c": 0.15113,
    "h": 270
  },
  "luminance": 0.03014
}

Semantic roles & 50–950 ramp

primary
#1A247F
secondary
#B3A842
accent
#D83FE9
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1A247F

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

Preview Lab → · Contrast checker → · Palette generator →

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