#1A2B66#1A2B66

#1A2B66 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.3% C 0.106 H 267.7°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#1A2B66
RGBrgb(26, 43, 102)
HSLhsl(227, 59%, 25%)
HSVhsv(227, 75%, 40%)
CMYKcmyk(74.5%, 57.8%, 0%, 60%)
CIE-LABlab(19.66, 15.54, -36.83)
CIE-LCHlch(19.66, 39.97, 292.87°)
OKLaboklab(31.32% -0.0043 -0.106)
OKLCHoklch(31.32% 0.106 267.7)
XYZxyz(3.6873, 2.9063, 12.9344)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2B66 #66551A
analogous
#1A5166 #1A2B66 #2F1A66
triadic
#1A2B66 #661A2B #2B661A
tetradic
#1A2B66 #661A51 #66551A #1A662F
square
#1A2B66 #661A51 #66551A #1A662F
split-complementary
#1A2B66 #662F1A #51661A
monochromatic
#060A18 #0E1635 #1A2B66 #264097 #3354C8

Accessibility & contrast

On white

13.28
#1A2B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1A2B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2B66
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2B66#FFFFFF#000000##FFFFFF
##1A2B661.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003368
Deuteranopia (green-blind)
#002C65
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1a2b66;
/* rgb */ color: rgb(26, 43, 102);
/* oklch */ color: oklch(31.3% 0.106 267.7);
Tailwind
colors: {
  custom: {
    50: '#626392',
    500: '#1a2b66',
    950: '#000000',
  },
}
SCSS
$custom: #1a2b66;
$custom-light: #626392;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2b66",
  "rgb": {
    "r": 26,
    "g": 43,
    "b": 102
  },
  "hsl": {
    "h": 226.579,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31322,
    "c": 0.10608,
    "h": 267.7
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#1A2B66
secondary
#9C8740
accent
#BF45E3
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1A2B66

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

Preview Lab → · Contrast checker → · Palette generator →

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