#1A256B#1A256B

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

Color values

HEX#1A256B
RGBrgb(26, 37, 107)
HSLhsl(232, 61%, 26%)
HSVhsv(232, 76%, 42%)
CMYKcmyk(75.7%, 65.4%, 0%, 58%)
CIE-LABlab(18.38, 21.87, -42.17)
CIE-LCHlch(18.38, 47.51, 297.41°)
OKLaboklab(30.5% 0.001 -0.1218)
OKLCHoklch(30.5% 0.122 270.5)
XYZxyz(3.7405, 2.6039, 14.2125)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256B #6B601A
analogous
#1A4D6B #1A256B #371A6B
triadic
#1A256B #6B1A25 #256B1A
tetradic
#1A256B #6B1A4D #6B601A #1A6B37
square
#1A256B #6B1A4D #6B601A #1A6B37
split-complementary
#1A256B #6B371A #4D6B1A
monochromatic
#060919 #0E143A #1A256B #26369C #3247CD

Accessibility & contrast

On white

13.81
#1A256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A256B
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A256B#FFFFFF#000000##FFFFFF
##1A256B1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#003744
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a256b;
/* rgb */ color: rgb(26, 37, 107);
/* oklch */ color: oklch(30.5% 0.122 270.5);
Tailwind
colors: {
  custom: {
    50: '#645f96',
    500: '#1a256b',
    950: '#000000',
  },
}
SCSS
$custom: #1a256b;
$custom-light: #645f96;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256b",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 231.852,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30501,
    "c": 0.12179,
    "h": 270.5
  },
  "luminance": 0.02604
}

Semantic roles & 50–950 ramp

primary
#1A256B
secondary
#A09340
accent
#CE44E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A256B

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

Preview Lab → · Contrast checker → · Palette generator →

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