#1A276E#1A276E

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

Color values

HEX#1A276E
RGBrgb(26, 39, 110)
HSLhsl(231, 62%, 27%)
HSVhsv(231, 76%, 43%)
CMYKcmyk(76.4%, 64.5%, 0%, 56.9%)
CIE-LABlab(19.21, 21.65, -42.77)
CIE-LCHlch(19.21, 47.94, 296.85°)
OKLaboklab(31.2% -0.0007 -0.1235)
OKLCHoklch(31.2% 0.124 269.7)
XYZxyz(3.9650, 2.7960, 15.0796)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A276E #6E611A
analogous
#1A516E #1A276E #371A6E
triadic
#1A276E #6E1A27 #276E1A
tetradic
#1A276E #6E1A51 #6E611A #1A6E37
square
#1A276E #6E1A51 #6E611A #1A6E37
split-complementary
#1A276E #6E371A #516E1A
monochromatic
#060919 #0E153D #1A276E #2639A0 #344CCF

Accessibility & contrast

On white

13.47
#1A276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A276E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A276E#FFFFFF#000000##FFFFFF
##1A276E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a276e;
/* rgb */ color: rgb(26, 39, 110);
/* oklch */ color: oklch(31.2% 0.124 269.7);
Tailwind
colors: {
  custom: {
    50: '#646198',
    500: '#1a276e',
    950: '#000000',
  },
}
SCSS
$custom: #1a276e;
$custom-light: #646198;
$custom-dark: #000000;
JSON
{
  "hex": "#1a276e",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 230.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31197,
    "c": 0.12352,
    "h": 269.7
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A276E

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

Preview Lab → · Contrast checker → · Palette generator →

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