#1A256F#1A256F

#1A256F is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.128 H 270.4°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1A256F
RGBrgb(26, 37, 111)
HSLhsl(232, 62%, 27%)
HSVhsv(232, 77%, 44%)
CMYKcmyk(76.6%, 66.7%, 0%, 56.5%)
CIE-LABlab(18.76, 23.46, -44.16)
CIE-LCHlch(18.76, 50.00, 297.98°)
OKLaboklab(30.89% 0.0008 -0.1276)
OKLCHoklch(30.89% 0.128 270.4)
XYZxyz(3.9558, 2.6900, 15.3466)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256F #6F641A
analogous
#1A506F #1A256F #3A1A6F
triadic
#1A256F #6F1A25 #256F1A
tetradic
#1A256F #6F1A50 #6F641A #1A6F3A
square
#1A256F #6F1A50 #6F641A #1A6F3A
split-complementary
#1A256F #6F3A1A #506F1A
monochromatic
#060819 #0E143D #1A256F #2636A1 #3448CF

Accessibility & contrast

On white

13.65
#1A256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A256F
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A256F#FFFFFF#000000##FFFFFF
##1A256F1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a256f;
/* rgb */ color: rgb(26, 37, 111);
/* oklch */ color: oklch(30.9% 0.128 270.4);
Tailwind
colors: {
  custom: {
    50: '#655f99',
    500: '#1a256f',
    950: '#000000',
  },
}
SCSS
$custom: #1a256f;
$custom-light: #655f99;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256f",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 232.235,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30893,
    "c": 0.1276,
    "h": 270.4
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#1A256F
secondary
#A49741
accent
#D043E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A256F

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

Preview Lab → · Contrast checker → · Palette generator →

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