#1A2575#1A2575

#1A2575 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.5% C 0.136 H 270.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#1A2575
RGBrgb(26, 37, 117)
HSLhsl(233, 64%, 28%)
HSVhsv(233, 78%, 46%)
CMYKcmyk(77.8%, 68.4%, 0%, 54.1%)
CIE-LABlab(19.34, 25.82, -47.08)
CIE-LCHlch(19.34, 53.69, 298.74°)
OKLaboklab(31.5% 0.0005 -0.1361)
OKLCHoklch(31.5% 0.136 270.2)
XYZxyz(4.2974, 2.8266, 17.1453)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2575 #756A1A
analogous
#1A5275 #1A2575 #3C1A75
triadic
#1A2575 #751A25 #25751A
tetradic
#1A2575 #751A52 #756A1A #1A753C
square
#1A2575 #751A52 #756A1A #1A753C
split-complementary
#1A2575 #753C1A #52751A
monochromatic
#060819 #0F1543 #1A2575 #2535A7 #374AD3

Accessibility & contrast

On white

13.42
#1A2575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1A2575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2575
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2575#FFFFFF#000000##FFFFFF
##1A25751.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1a2575;
/* rgb */ color: rgb(26, 37, 117);
/* oklch */ color: oklch(31.5% 0.136 270.2);
Tailwind
colors: {
  custom: {
    50: '#665f9e',
    500: '#1a2575',
    950: '#000000',
  },
}
SCSS
$custom: #1a2575;
$custom-light: #665f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2575",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 232.747,
    "s": 63.636,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31495,
    "c": 0.13615,
    "h": 270.2
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#1A2575
secondary
#AA9D41
accent
#D341E7
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #1A2575

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

Preview Lab → · Contrast checker → · Palette generator →

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