#1A246C#1A246C

#1A246C is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.125 H 270.8°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#1A246C
RGBrgb(26, 36, 108)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 42%)
CMYKcmyk(75.9%, 66.7%, 0%, 57.6%)
CIE-LABlab(18.20, 22.98, -43.12)
CIE-LCHlch(18.20, 48.86, 298.05°)
OKLaboklab(30.4% 0.0017 -0.1246)
OKLCHoklch(30.4% 0.125 270.8)
XYZxyz(3.7627, 2.5637, 14.4810)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A246C #6C621A
analogous
#1A4D6C #1A246C #391A6C
triadic
#1A246C #6C1A24 #246C1A
tetradic
#1A246C #6C1A4D #6C621A #1A6C39
square
#1A246C #6C1A4D #6C621A #1A6C39
split-complementary
#1A246C #6C391A #4D6C1A
monochromatic
#060819 #0E143B #1A246C #26349D #3346CE

Accessibility & contrast

On white

13.88
#1A246C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#1A246C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A246C
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A246C#FFFFFF#000000##FFFFFF
##1A246C1.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1a246c;
/* rgb */ color: rgb(26, 36, 108);
/* oklch */ color: oklch(30.4% 0.125 270.8);
Tailwind
colors: {
  custom: {
    50: '#645e97',
    500: '#1a246c',
    950: '#000000',
  },
}
SCSS
$custom: #1a246c;
$custom-light: #645e97;
$custom-dark: #000000;
JSON
{
  "hex": "#1a246c",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 108
  },
  "hsl": {
    "h": 232.683,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30399,
    "c": 0.12457,
    "h": 270.8
  },
  "luminance": 0.02564
}

Semantic roles & 50–950 ramp

primary
#1A246C
secondary
#A19541
accent
#D143E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A246C

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

Preview Lab → · Contrast checker → · Palette generator →

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