#1A296F#1A296F

#1A296F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.122 H 269.0°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#1A296F
RGBrgb(26, 41, 111)
HSLhsl(229, 62%, 27%)
HSVhsv(229, 77%, 44%)
CMYKcmyk(76.6%, 63.1%, 0%, 56.5%)
CIE-LABlab(19.85, 20.63, -42.37)
CIE-LCHlch(19.85, 47.12, 295.96°)
OKLaboklab(31.7% -0.0022 -0.1223)
OKLCHoklch(31.7% 0.122 269)
XYZxyz(4.0872, 2.9528, 15.3904)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A296F #6F601A
analogous
#1A546F #1A296F #361A6F
triadic
#1A296F #6F1A29 #296F1A
tetradic
#1A296F #6F1A54 #6F601A #1A6F36
square
#1A296F #6F1A54 #6F601A #1A6F36
split-complementary
#1A296F #6F361A #546F1A
monochromatic
#060919 #0E173D #1A296F #263BA1 #344FCF

Accessibility & contrast

On white

13.20
#1A296F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A296F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A296F#FFFFFF#000000##FFFFFF
##1A296F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003B47
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a296f;
/* rgb */ color: rgb(26, 41, 111);
/* oklch */ color: oklch(31.7% 0.122 269.0);
Tailwind
colors: {
  custom: {
    50: '#646299',
    500: '#1a296f',
    950: '#000000',
  },
}
SCSS
$custom: #1a296f;
$custom-light: #646299;
$custom-dark: #000000;
JSON
{
  "hex": "#1a296f",
  "rgb": {
    "r": 26,
    "g": 41,
    "b": 111
  },
  "hsl": {
    "h": 229.412,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31704,
    "c": 0.12232,
    "h": 269
  },
  "luminance": 0.02953
}

Semantic roles & 50–950 ramp

primary
#1A296F
secondary
#A49341
accent
#C843E5
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A296F

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

Preview Lab → · Contrast checker → · Palette generator →

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