#1A2276#1A2276

#1A2276 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.141 H 270.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#1A2276
RGBrgb(26, 34, 118)
HSLhsl(235, 64%, 28%)
HSVhsv(235, 78%, 46%)
CMYKcmyk(78%, 71.2%, 0%, 53.7%)
CIE-LABlab(18.68, 28.24, -48.80)
CIE-LCHlch(18.68, 56.38, 300.05°)
OKLaboklab(31.05% 0.0022 -0.1412)
OKLCHoklch(31.05% 0.141 270.9)
XYZxyz(4.2669, 2.6712, 17.4267)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2276 #766E1A
analogous
#1A5076 #1A2276 #401A76
triadic
#1A2276 #761A22 #22761A
tetradic
#1A2276 #761A50 #766E1A #1A7640
square
#1A2276 #761A50 #766E1A #1A7640
split-complementary
#1A2276 #76401A #50761A
monochromatic
#060719 #0F1444 #1A2276 #2530A8 #3745D3

Accessibility & contrast

On white

13.69
#1A2276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#1A2276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2276
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2276#FFFFFF#000000##FFFFFF
##1A22761.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2276;
/* rgb */ color: rgb(26, 34, 118);
/* oklch */ color: oklch(31.0% 0.141 270.9);
Tailwind
colors: {
  custom: {
    50: '#675d9e',
    500: '#1a2276',
    950: '#000000',
  },
}
SCSS
$custom: #1a2276;
$custom-light: #675d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2276",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 234.783,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31046,
    "c": 0.14123,
    "h": 270.9
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#1A2276
secondary
#ABA141
accent
#D841E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2276

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

Preview Lab → · Contrast checker → · Palette generator →

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