#1A2E6D#1A2E6D

#1A2E6D is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.113 H 266.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#1A2E6D
RGBrgb(26, 46, 109)
HSLhsl(226, 61%, 26%)
HSVhsv(226, 76%, 43%)
CMYKcmyk(76.1%, 57.8%, 0%, 57.3%)
CIE-LABlab(21.12, 16.23, -39.01)
CIE-LCHlch(21.12, 42.25, 292.59°)
OKLaboklab(32.6% -0.0065 -0.1124)
OKLCHoklch(32.6% 0.113 266.7)
XYZxyz(4.1624, 3.2773, 14.8782)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E6D #6D591A
analogous
#1A586D #1A2E6D #301A6D
triadic
#1A2E6D #6D1A2E #2E6D1A
tetradic
#1A2E6D #6D1A58 #6D591A #1A6D30
square
#1A2E6D #6D1A58 #6D591A #1A6D30
split-complementary
#1A2E6D #6D301A #586D1A
monochromatic
#060A19 #0E193C #1A2E6D #26439E #3358CE

Accessibility & contrast

On white

12.68
#1A2E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E6D
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E6D#FFFFFF#000000##FFFFFF
##1A2E6D1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00376F
Deuteranopia (green-blind)
#002F6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2e6d;
/* rgb */ color: rgb(26, 46, 109);
/* oklch */ color: oklch(32.6% 0.113 266.7);
Tailwind
colors: {
  custom: {
    50: '#636697',
    500: '#1a2e6d',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e6d;
$custom-light: #636697;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e6d",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 225.542,
    "s": 61.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32599,
    "c": 0.11256,
    "h": 266.7
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#1A2E6D
secondary
#A28B41
accent
#BE43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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