#1A276C#1A276C

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

Color values

HEX#1A276C
RGBrgb(26, 39, 108)
HSLhsl(230, 61%, 26%)
HSVhsv(230, 76%, 42%)
CMYKcmyk(75.9%, 63.9%, 0%, 57.6%)
CIE-LABlab(19.03, 20.85, -41.77)
CIE-LCHlch(19.03, 46.69, 296.53°)
OKLaboklab(31.01% -0.0006 -0.1206)
OKLCHoklch(31.01% 0.121 269.7)
XYZxyz(3.8574, 2.7530, 14.5125)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A276C #6C5F1A
analogous
#1A506C #1A276C #361A6C
triadic
#1A276C #6C1A27 #276C1A
tetradic
#1A276C #6C1A50 #6C5F1A #1A6C36
square
#1A276C #6C1A50 #6C5F1A #1A6C36
split-complementary
#1A276C #6C361A #506C1A
monochromatic
#060919 #0E153B #1A276C #26399D #334BCE

Accessibility & contrast

On white

13.54
#1A276C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A276C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A276C
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A276C#FFFFFF#000000##FFFFFF
##1A276C1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a276c;
/* rgb */ color: rgb(26, 39, 108);
/* oklch */ color: oklch(31.0% 0.121 269.7);
Tailwind
colors: {
  custom: {
    50: '#646097',
    500: '#1a276c',
    950: '#000000',
  },
}
SCSS
$custom: #1a276c;
$custom-light: #646097;
$custom-dark: #000000;
JSON
{
  "hex": "#1a276c",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 108
  },
  "hsl": {
    "h": 230.488,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31006,
    "c": 0.12059,
    "h": 269.7
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#1A276C
secondary
#A19241
accent
#CB43E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1A276C

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

Preview Lab → · Contrast checker → · Palette generator →

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