#1A266E#1A266E

#1A266E is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.0% C 0.125 H 270.0°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#1A266E
RGBrgb(26, 38, 110)
HSLhsl(231, 62%, 27%)
HSVhsv(231, 76%, 43%)
CMYKcmyk(76.4%, 65.5%, 0%, 56.9%)
CIE-LABlab(18.93, 22.36, -43.22)
CIE-LCHlch(18.93, 48.66, 297.35°)
OKLaboklab(30.99% 0.0001 -0.1248)
OKLCHoklch(30.99% 0.125 270)
XYZxyz(3.9326, 2.7312, 15.0687)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A266E #6E621A
analogous
#1A506E #1A266E #381A6E
triadic
#1A266E #6E1A26 #266E1A
tetradic
#1A266E #6E1A50 #6E621A #1A6E38
square
#1A266E #6E1A50 #6E621A #1A6E38
split-complementary
#1A266E #6E381A #506E1A
monochromatic
#060919 #0E153D #1A266E #2637A0 #344ACF

Accessibility & contrast

On white

13.58
#1A266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#1A266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A266E
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A266E#FFFFFF#000000##FFFFFF
##1A266E1.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003270
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a266e;
/* rgb */ color: rgb(26, 38, 110);
/* oklch */ color: oklch(31.0% 0.125 270.0);
Tailwind
colors: {
  custom: {
    50: '#646098',
    500: '#1a266e',
    950: '#000000',
  },
}
SCSS
$custom: #1a266e;
$custom-light: #646098;
$custom-dark: #000000;
JSON
{
  "hex": "#1a266e",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 231.429,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30994,
    "c": 0.12485,
    "h": 270
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#1A266E
secondary
#A39541
accent
#CE43E5
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #1A266E

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

Preview Lab → · Contrast checker → · Palette generator →

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