#1A275D#1A275D

#1A275D is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.6% C 0.098 H 269.4°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#1A275D
RGBrgb(26, 39, 93)
HSLhsl(228, 56%, 23%)
HSVhsv(228, 72%, 36%)
CMYKcmyk(72%, 58.1%, 0%, 63.5%)
CIE-LABlab(17.74, 14.78, -34.02)
CIE-LCHlch(17.74, 37.09, 293.48°)
OKLaboklab(29.64% -0.0011 -0.0978)
OKLCHoklch(29.64% 0.098 269.4)
XYZxyz(3.1266, 2.4607, 10.6640)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A275D #5D501A
analogous
#1A485D #1A275D #2E1A5D
triadic
#1A275D #5D1A27 #275D1A
tetradic
#1A275D #5D1A48 #5D501A #1A5D2E
square
#1A275D #5D1A48 #5D501A #1A5D2E
split-complementary
#1A275D #5D2E1A #485D1A
monochromatic
#070A18 #0D132D #1A275D #273B8D #354FBD

Accessibility & contrast

On white

14.07
#1A275D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A275D
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A275D#FFFFFF#000000##FFFFFF
##1A275D1.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022F5F
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#00343D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a275d;
/* rgb */ color: rgb(26, 39, 93);
/* oklch */ color: oklch(29.6% 0.098 269.4);
Tailwind
colors: {
  custom: {
    50: '#60608b',
    500: '#1a275d',
    950: '#000000',
  },
}
SCSS
$custom: #1a275d;
$custom-light: #60608b;
$custom-dark: #000000;
JSON
{
  "hex": "#1a275d",
  "rgb": {
    "r": 26,
    "g": 39,
    "b": 93
  },
  "hsl": {
    "h": 228.358,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29641,
    "c": 0.09781,
    "h": 269.4
  },
  "luminance": 0.02461
}

Semantic roles & 50–950 ramp

primary
#1A275D
secondary
#938340
accent
#C248E0
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #1A275D

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

Preview Lab → · Contrast checker → · Palette generator →

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