#1A2264#1A2264

#1A2264 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.2% C 0.115 H 271.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#1A2264
RGBrgb(26, 34, 100)
HSLhsl(234, 59%, 25%)
HSVhsv(234, 74%, 39%)
CMYKcmyk(74%, 66%, 0%, 60.8%)
CIE-LABlab(16.91, 21.22, -40.00)
CIE-LCHlch(16.91, 45.28, 297.95°)
OKLaboklab(29.21% 0.0036 -0.1154)
OKLCHoklch(29.21% 0.115 271.8)
XYZxyz(3.2975, 2.2834, 12.3211)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2264 #645C1A
analogous
#1A4764 #1A2264 #371A64
triadic
#1A2264 #641A22 #22641A
tetradic
#1A2264 #641A47 #645C1A #1A6437
square
#1A2264 #641A47 #645C1A #1A6437
split-complementary
#1A2264 #64371A #47641A
monochromatic
#060818 #0D1133 #1A2264 #273395 #3343C5

Accessibility & contrast

On white

14.42
#1A2264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#1A2264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2264
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2264#FFFFFF#000000##FFFFFF
##1A22641.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a2264;
/* rgb */ color: rgb(26, 34, 100);
/* oklch */ color: oklch(29.2% 0.115 271.8);
Tailwind
colors: {
  custom: {
    50: '#625d91',
    500: '#1a2264',
    950: '#000000',
  },
}
SCSS
$custom: #1a2264;
$custom-light: #625d91;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2264",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 233.514,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29214,
    "c": 0.11549,
    "h": 271.8
  },
  "luminance": 0.02284
}

Semantic roles & 50–950 ramp

primary
#1A2264
secondary
#9A9040
accent
#D146E2
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A2264

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

Preview Lab → · Contrast checker → · Palette generator →

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