#1A256A#1A256A

#1A256A is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.4% C 0.120 H 270.5°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#1A256A
RGBrgb(26, 37, 106)
HSLhsl(232, 61%, 26%)
HSVhsv(232, 75%, 42%)
CMYKcmyk(75.5%, 65.1%, 0%, 58.4%)
CIE-LABlab(18.29, 21.47, -41.67)
CIE-LCHlch(18.29, 46.88, 297.26°)
OKLaboklab(30.4% 0.001 -0.1203)
OKLCHoklch(30.4% 0.12 270.5)
XYZxyz(3.6882, 2.5830, 13.9371)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256A #6A5F1A
analogous
#1A4D6A #1A256A #371A6A
triadic
#1A256A #6A1A25 #256A1A
tetradic
#1A256A #6A1A4D #6A5F1A #1A6A37
square
#1A256A #6A1A4D #6A5F1A #1A6A37
split-complementary
#1A256A #6A371A #4D6A1A
monochromatic
#060919 #0E1439 #1A256A #26369B #3247CC

Accessibility & contrast

On white

13.85
#1A256A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#1A256A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A256A
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A256A#FFFFFF#000000##FFFFFF
##1A256A1.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#003743
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a256a;
/* rgb */ color: rgb(26, 37, 106);
/* oklch */ color: oklch(30.4% 0.120 270.5);
Tailwind
colors: {
  custom: {
    50: '#635f95',
    500: '#1a256a',
    950: '#000000',
  },
}
SCSS
$custom: #1a256a;
$custom-light: #635f95;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256a",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 106
  },
  "hsl": {
    "h": 231.75,
    "s": 60.606,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30404,
    "c": 0.12032,
    "h": 270.5
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#1A256A
secondary
#9F9240
accent
#CE44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A256A

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

Preview Lab → · Contrast checker → · Palette generator →

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