#1A2E6E#1A2E6E

#1A2E6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.114 H 266.8°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#1A2E6E
RGBrgb(26, 46, 110)
HSLhsl(226, 62%, 27%)
HSVhsv(226, 76%, 43%)
CMYKcmyk(76.4%, 58.2%, 0%, 56.9%)
CIE-LABlab(21.20, 16.64, -39.52)
CIE-LCHlch(21.20, 42.88, 292.83°)
OKLaboklab(32.69% -0.0064 -0.1139)
OKLCHoklch(32.69% 0.114 266.8)
XYZxyz(4.2165, 3.2989, 15.1634)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E6E #6E5A1A
analogous
#1A586E #1A2E6E #301A6E
triadic
#1A2E6E #6E1A2E #2E6E1A
tetradic
#1A2E6E #6E1A58 #6E5A1A #1A6E30
square
#1A2E6E #6E1A58 #6E5A1A #1A6E30
split-complementary
#1A2E6E #6E301A #586E1A
monochromatic
#060A19 #0E193D #1A2E6E #2643A0 #3459CF

Accessibility & contrast

On white

12.65
#1A2E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1A2E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E6E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E6E#FFFFFF#000000##FFFFFF
##1A2E6E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2e6e;
/* rgb */ color: rgb(26, 46, 110);
/* oklch */ color: oklch(32.7% 0.114 266.8);
Tailwind
colors: {
  custom: {
    50: '#646698',
    500: '#1a2e6e',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e6e;
$custom-light: #646698;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e6e",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 225.714,
    "s": 61.765,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32686,
    "c": 0.11406,
    "h": 266.8
  },
  "luminance": 0.03299
}

Semantic roles & 50–950 ramp

primary
#1A2E6E
secondary
#A38C41
accent
#BE43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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