#1A2275#1A2275

#1A2275 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.9% C 0.140 H 271.0°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#1A2275
RGBrgb(26, 34, 117)
HSLhsl(235, 64%, 28%)
HSVhsv(235, 78%, 46%)
CMYKcmyk(77.8%, 70.9%, 0%, 54.1%)
CIE-LABlab(18.57, 27.86, -48.33)
CIE-LCHlch(18.57, 55.78, 299.96°)
OKLaboklab(30.94% 0.0024 -0.1398)
OKLCHoklch(30.94% 0.14 271)
XYZxyz(4.2078, 2.6476, 17.1154)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2275 #756D1A
analogous
#1A4F75 #1A2275 #3F1A75
triadic
#1A2275 #751A22 #22751A
tetradic
#1A2275 #751A4F #756D1A #1A753F
square
#1A2275 #751A4F #756D1A #1A753F
split-complementary
#1A2275 #753F1A #4F751A
monochromatic
#060719 #0F1343 #1A2275 #2531A7 #3745D3

Accessibility & contrast

On white

13.73
#1A2275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2275
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2275#FFFFFF#000000##FFFFFF
##1A22751.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a2275;
/* rgb */ color: rgb(26, 34, 117);
/* oklch */ color: oklch(30.9% 0.140 271.0);
Tailwind
colors: {
  custom: {
    50: '#675d9e',
    500: '#1a2275',
    950: '#000000',
  },
}
SCSS
$custom: #1a2275;
$custom-light: #675d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2275",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 234.725,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3094,
    "c": 0.13984,
    "h": 271
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A2275

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

Preview Lab → · Contrast checker → · Palette generator →

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