#1A2E6C#1A2E6C

#1A2E6C is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.111 H 266.6°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#1A2E6C
RGBrgb(26, 46, 108)
HSLhsl(225, 61%, 26%)
HSVhsv(225, 76%, 42%)
CMYKcmyk(75.9%, 57.4%, 0%, 57.6%)
CIE-LABlab(21.04, 15.82, -38.50)
CIE-LCHlch(21.04, 41.62, 292.34°)
OKLaboklab(32.51% -0.0065 -0.1108)
OKLCHoklch(32.51% 0.111 266.6)
XYZxyz(4.1088, 3.2559, 14.5964)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E6C #6C581A
analogous
#1A576C #1A2E6C #2F1A6C
triadic
#1A2E6C #6C1A2E #2E6C1A
tetradic
#1A2E6C #6C1A57 #6C581A #1A6C2F
square
#1A2E6C #6C1A57 #6C581A #1A6C2F
split-complementary
#1A2E6C #6C2F1A #576C1A
monochromatic
#060B19 #0E193B #1A2E6C #26439D #3358CE

Accessibility & contrast

On white

12.72
#1A2E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1A2E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E6C
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E6C#FFFFFF#000000##FFFFFF
##1A2E6C1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1a2e6c;
/* rgb */ color: rgb(26, 46, 108);
/* oklch */ color: oklch(32.5% 0.111 266.6);
Tailwind
colors: {
  custom: {
    50: '#636697',
    500: '#1a2e6c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e6c;
$custom-light: #636697;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e6c",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 225.366,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.11104,
    "h": 266.6
  },
  "luminance": 0.03256
}

Semantic roles & 50–950 ramp

primary
#1A2E6C
secondary
#A18A41
accent
#BD43E4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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