#1A266C#1A266C

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

Color values

HEX#1A266C
RGBrgb(26, 38, 108)
HSLhsl(231, 61%, 26%)
HSVhsv(231, 76%, 42%)
CMYKcmyk(75.9%, 64.8%, 0%, 57.6%)
CIE-LABlab(18.75, 21.56, -42.22)
CIE-LCHlch(18.75, 47.41, 297.05°)
OKLaboklab(30.8% 0.0002 -0.1219)
OKLCHoklch(30.8% 0.122 270.1)
XYZxyz(3.8250, 2.6882, 14.5017)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A266C #6C601A
analogous
#1A4F6C #1A266C #371A6C
triadic
#1A266C #6C1A26 #266C1A
tetradic
#1A266C #6C1A4F #6C601A #1A6C37
square
#1A266C #6C1A4F #6C601A #1A6C37
split-complementary
#1A266C #6C371A #4F6C1A
monochromatic
#060919 #0E153B #1A266C #26379D #3349CE

Accessibility & contrast

On white

13.66
#1A266C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A266C
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A266C#FFFFFF#000000##FFFFFF
##1A266C1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a266c;
/* rgb */ color: rgb(26, 38, 108);
/* oklch */ color: oklch(30.8% 0.122 270.1);
Tailwind
colors: {
  custom: {
    50: '#646097',
    500: '#1a266c',
    950: '#000000',
  },
}
SCSS
$custom: #1a266c;
$custom-light: #646097;
$custom-dark: #000000;
JSON
{
  "hex": "#1a266c",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 108
  },
  "hsl": {
    "h": 231.22,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30801,
    "c": 0.12193,
    "h": 270.1
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#1A266C
secondary
#A19341
accent
#CD43E4
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A266C

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

Preview Lab → · Contrast checker → · Palette generator →

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