#1A276F#1A276F

#1A276F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.3% C 0.125 H 269.7°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#1A276F
RGBrgb(26, 39, 111)
HSLhsl(231, 62%, 27%)
HSVhsv(231, 77%, 44%)
CMYKcmyk(76.6%, 64.9%, 0%, 56.5%)
CIE-LABlab(19.30, 22.05, -43.27)
CIE-LCHlch(19.30, 48.57, 297.00°)
OKLaboklab(31.29% -0.0007 -0.125)
OKLCHoklch(31.29% 0.125 269.7)
XYZxyz(4.0198, 2.8179, 15.3679)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A276F #6F621A
analogous
#1A526F #1A276F #381A6F
triadic
#1A276F #6F1A27 #276F1A
tetradic
#1A276F #6F1A52 #6F621A #1A6F38
square
#1A276F #6F1A52 #6F621A #1A6F38
split-complementary
#1A276F #6F381A #526F1A
monochromatic
#060919 #0E163D #1A276F #2638A1 #344CCF

Accessibility & contrast

On white

13.43
#1A276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#1A276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A276F
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A276F#FFFFFF#000000##FFFFFF
##1A276F1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003371
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a276f;
/* rgb */ color: rgb(26, 39, 111);
/* oklch */ color: oklch(31.3% 0.125 269.7);
Tailwind
colors: {
  custom: {
    50: '#646199',
    500: '#1a276f',
    950: '#000000',
  },
}
SCSS
$custom: #1a276f;
$custom-light: #646199;
$custom-dark: #000000;
JSON
{
  "hex": "#1a276f",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 230.824,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31293,
    "c": 0.12498,
    "h": 269.7
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#1A276F
secondary
#A49541
accent
#CC43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1A276F

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

Preview Lab → · Contrast checker → · Palette generator →

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