#1A246D#1A246D

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

Color values

HEX#1A246D
RGBrgb(26, 36, 109)
HSLhsl(233, 61%, 26%)
HSVhsv(233, 76%, 43%)
CMYKcmyk(76.1%, 67%, 0%, 57.3%)
CIE-LABlab(18.30, 23.37, -43.61)
CIE-LCHlch(18.30, 49.48, 298.19°)
OKLaboklab(30.5% 0.0017 -0.126)
OKLCHoklch(30.5% 0.126 270.8)
XYZxyz(3.8163, 2.5851, 14.7629)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A246D #6D631A
analogous
#1A4E6D #1A246D #3A1A6D
triadic
#1A246D #6D1A24 #246D1A
tetradic
#1A246D #6D1A4E #6D631A #1A6D3A
square
#1A246D #6D1A4E #6D631A #1A6D3A
split-complementary
#1A246D #6D3A1A #4E6D1A
monochromatic
#060819 #0E143C #1A246D #26349E #3346CE

Accessibility & contrast

On white

13.84
#1A246D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A246D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A246D
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A246D#FFFFFF#000000##FFFFFF
##1A246D1.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003745
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a246d;
/* rgb */ color: rgb(26, 36, 109);
/* oklch */ color: oklch(30.5% 0.126 270.8);
Tailwind
colors: {
  custom: {
    50: '#645e98',
    500: '#1a246d',
    950: '#000000',
  },
}
SCSS
$custom: #1a246d;
$custom-light: #645e98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a246d",
  "rgb": {
    "r": 26,
    "g": 36,
    "b": 109
  },
  "hsl": {
    "h": 232.771,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.12602,
    "h": 270.8
  },
  "luminance": 0.02585
}

Semantic roles & 50–950 ramp

primary
#1A246D
secondary
#A29641
accent
#D143E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A246D

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

Preview Lab → · Contrast checker → · Palette generator →

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