#1A256D#1A256D

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

Color values

HEX#1A256D
RGBrgb(26, 37, 109)
HSLhsl(232, 61%, 26%)
HSVhsv(232, 76%, 43%)
CMYKcmyk(76.1%, 66.1%, 0%, 57.3%)
CIE-LABlab(18.57, 22.67, -43.17)
CIE-LCHlch(18.57, 48.76, 297.70°)
OKLaboklab(30.7% 0.0009 -0.1247)
OKLCHoklch(30.7% 0.125 270.4)
XYZxyz(3.8469, 2.6465, 14.7731)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256D #6D621A
analogous
#1A4F6D #1A256D #391A6D
triadic
#1A256D #6D1A25 #256D1A
tetradic
#1A256D #6D1A4F #6D621A #1A6D39
square
#1A256D #6D1A4F #6D621A #1A6D39
split-complementary
#1A256D #6D391A #4F6D1A
monochromatic
#060819 #0E143C #1A256D #26369E #3348CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##1A256D#FFFFFF#000000##FFFFFF
##1A256D1.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)
#00316F
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a256d;
/* rgb */ color: rgb(26, 37, 109);
/* oklch */ color: oklch(30.7% 0.125 270.4);
Tailwind
colors: {
  custom: {
    50: '#645f98',
    500: '#1a256d',
    950: '#000000',
  },
}
SCSS
$custom: #1a256d;
$custom-light: #645f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256d",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 109
  },
  "hsl": {
    "h": 232.048,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30696,
    "c": 0.12471,
    "h": 270.4
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#1A256D
secondary
#A29541
accent
#CF43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A256D

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

Preview Lab → · Contrast checker → · Palette generator →

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