#1A266F#1A266F

#1A266F is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.1% C 0.126 H 270.0°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#1A266F
RGBrgb(26, 38, 111)
HSLhsl(232, 62%, 27%)
HSVhsv(232, 77%, 44%)
CMYKcmyk(76.6%, 65.8%, 0%, 56.5%)
CIE-LABlab(19.03, 22.76, -43.72)
CIE-LCHlch(19.03, 49.29, 297.50°)
OKLaboklab(31.09% 0.0001 -0.1263)
OKLCHoklch(31.09% 0.126 270)
XYZxyz(3.9874, 2.7531, 15.3571)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A266F #6F631A
analogous
#1A516F #1A266F #381A6F
triadic
#1A266F #6F1A26 #266F1A
tetradic
#1A266F #6F1A51 #6F631A #1A6F38
square
#1A266F #6F1A51 #6F631A #1A6F38
split-complementary
#1A266F #6F381A #516F1A
monochromatic
#060819 #0E153D #1A266F #2637A1 #344ACF

Accessibility & contrast

On white

13.54
#1A266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A266F
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A266F#FFFFFF#000000##FFFFFF
##1A266F1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a266f;
/* rgb */ color: rgb(26, 38, 111);
/* oklch */ color: oklch(31.1% 0.126 270.0);
Tailwind
colors: {
  custom: {
    50: '#656099',
    500: '#1a266f',
    950: '#000000',
  },
}
SCSS
$custom: #1a266f;
$custom-light: #656099;
$custom-dark: #000000;
JSON
{
  "hex": "#1a266f",
  "rgb": {
    "r": 26,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 231.529,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31092,
    "c": 0.1263,
    "h": 270
  },
  "luminance": 0.02754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1A266F

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

Preview Lab → · Contrast checker → · Palette generator →

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