#1A256C#1A256C

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

Color values

HEX#1A256C
RGBrgb(26, 37, 108)
HSLhsl(232, 61%, 26%)
HSVhsv(232, 76%, 42%)
CMYKcmyk(75.9%, 65.7%, 0%, 57.6%)
CIE-LABlab(18.48, 22.27, -42.67)
CIE-LCHlch(18.48, 48.13, 297.56°)
OKLaboklab(30.6% 0.0009 -0.1232)
OKLCHoklch(30.6% 0.123 270.4)
XYZxyz(3.7934, 2.6251, 14.4912)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256C #6C611A
analogous
#1A4E6C #1A256C #381A6C
triadic
#1A256C #6C1A25 #256C1A
tetradic
#1A256C #6C1A4E #6C611A #1A6C38
square
#1A256C #6C1A4E #6C611A #1A6C38
split-complementary
#1A256C #6C381A #4E6C1A
monochromatic
#060819 #0E143B #1A256C #26369D #3347CE

Accessibility & contrast

On white

13.77
#1A256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A256C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A256C#FFFFFF#000000##FFFFFF
##1A256C1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a256c;
/* rgb */ color: rgb(26, 37, 108);
/* oklch */ color: oklch(30.6% 0.123 270.4);
Tailwind
colors: {
  custom: {
    50: '#645f97',
    500: '#1a256c',
    950: '#000000',
  },
}
SCSS
$custom: #1a256c;
$custom-light: #645f97;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256c",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 231.951,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30599,
    "c": 0.12325,
    "h": 270.4
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#1A256C
secondary
#A19441
accent
#CF43E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A256C

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

Preview Lab → · Contrast checker → · Palette generator →

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