#1A275C#1A275C

#1A275C is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.096 H 269.3°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#1A275C
RGBrgb(26, 39, 92)
HSLhsl(228, 56%, 23%)
HSVhsv(228, 72%, 36%)
CMYKcmyk(71.7%, 57.6%, 0%, 63.9%)
CIE-LABlab(17.66, 14.37, -33.48)
CIE-LCHlch(17.66, 36.44, 293.23°)
OKLaboklab(29.56% -0.0011 -0.0962)
OKLCHoklch(29.56% 0.096 269.3)
XYZxyz(3.0826, 2.4431, 10.4322)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A275C #5C4F1A
analogous
#1A485C #1A275C #2E1A5C
triadic
#1A275C #5C1A27 #275C1A
tetradic
#1A275C #5C1A48 #5C4F1A #1A5C2E
square
#1A275C #5C1A48 #5C4F1A #1A5C2E
split-complementary
#1A275C #5C2E1A #485C1A
monochromatic
#070A18 #0D132C #1A275C #273B8C #354FBB

Accessibility & contrast

On white

14.11
#1A275C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#1A275C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A275C
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A275C#FFFFFF#000000##FFFFFF
##1A275C1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032E5E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a275c;
/* rgb */ color: rgb(26, 39, 92);
/* oklch */ color: oklch(29.6% 0.096 269.3);
Tailwind
colors: {
  custom: {
    50: '#60608b',
    500: '#1a275c',
    950: '#000000',
  },
}
SCSS
$custom: #1a275c;
$custom-light: #60608b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a275c",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 92
  },
  "hsl": {
    "h": 228.182,
    "s": 55.932,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29555,
    "c": 0.09624,
    "h": 269.3
  },
  "luminance": 0.02443
}

Semantic roles & 50–950 ramp

primary
#1A275C
secondary
#928240
accent
#C249DF
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A275C

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

Preview Lab → · Contrast checker → · Palette generator →

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