#1A265E#1A265E

#1A265E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.101 H 270.0°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#1A265E
RGBrgb(26, 38, 94)
HSLhsl(229, 57%, 24%)
HSVhsv(229, 72%, 37%)
CMYKcmyk(72.3%, 59.6%, 0%, 63.1%)
CIE-LABlab(17.52, 15.92, -35.03)
CIE-LCHlch(17.52, 38.48, 294.43°)
OKLaboklab(29.51% 0 -0.1008)
OKLCHoklch(29.51% 0.101 270)
XYZxyz(3.1388, 2.4137, 10.8880)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A265E #5E521A
analogous
#1A485E #1A265E #301A5E
triadic
#1A265E #5E1A26 #265E1A
tetradic
#1A265E #5E1A48 #5E521A #1A5E30
square
#1A265E #5E1A48 #5E521A #1A5E30
split-complementary
#1A265E #5E301A #485E1A
monochromatic
#070A18 #0D132E #1A265E #27398E #354DBE

Accessibility & contrast

On white

14.16
#1A265E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#1A265E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A265E
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A265E#FFFFFF#000000##FFFFFF
##1A265E1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E60
Deuteranopia (green-blind)
#00285D
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #1a265e;
/* rgb */ color: rgb(26, 38, 94);
/* oklch */ color: oklch(29.5% 0.101 270.0);
Tailwind
colors: {
  custom: {
    50: '#60608c',
    500: '#1a265e',
    950: '#000000',
  },
}
SCSS
$custom: #1a265e;
$custom-light: #60608c;
$custom-dark: #000000;
JSON
{
  "hex": "#1a265e",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 94
  },
  "hsl": {
    "h": 229.412,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29505,
    "c": 0.10079,
    "h": 270
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#1A265E
secondary
#948540
accent
#C548E0
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040C
muted
#7A797D

Preview Lab

Preview with #1A265E

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

Preview Lab → · Contrast checker → · Palette generator →

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