#1A256E#1A256E

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

Color values

HEX#1A256E
RGBrgb(26, 37, 110)
HSLhsl(232, 62%, 27%)
HSVhsv(232, 76%, 43%)
CMYKcmyk(76.4%, 66.4%, 0%, 56.9%)
CIE-LABlab(18.66, 23.07, -43.66)
CIE-LCHlch(18.66, 49.38, 297.85°)
OKLaboklab(30.8% 0.0009 -0.1262)
OKLCHoklch(30.8% 0.126 270.4)
XYZxyz(3.9011, 2.6681, 15.0582)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A256E #6E631A
analogous
#1A4F6E #1A256E #391A6E
triadic
#1A256E #6E1A25 #256E1A
tetradic
#1A256E #6E1A4F #6E631A #1A6E39
square
#1A256E #6E1A4F #6E631A #1A6E39
split-complementary
#1A256E #6E391A #4F6E1A
monochromatic
#060819 #0E143D #1A256E #2636A0 #3448CF

Accessibility & contrast

On white

13.69
#1A256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A256E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A256E#FFFFFF#000000##FFFFFF
##1A256E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #1a256e;
/* rgb */ color: rgb(26, 37, 110);
/* oklch */ color: oklch(30.8% 0.126 270.4);
Tailwind
colors: {
  custom: {
    50: '#645f98',
    500: '#1a256e',
    950: '#000000',
  },
}
SCSS
$custom: #1a256e;
$custom-light: #645f98;
$custom-dark: #000000;
JSON
{
  "hex": "#1a256e",
  "rgb": {
    "r": 26,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 232.143,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30795,
    "c": 0.12616,
    "h": 270.4
  },
  "luminance": 0.02669
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A256E

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

Preview Lab → · Contrast checker → · Palette generator →

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