#1A2E6F#1A2E6F

#1A2E6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.8% C 0.116 H 266.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#1A2E6F
RGBrgb(26, 46, 111)
HSLhsl(226, 62%, 27%)
HSVhsv(226, 77%, 44%)
CMYKcmyk(76.6%, 58.6%, 0%, 56.5%)
CIE-LABlab(21.29, 17.05, -40.04)
CIE-LCHlch(21.29, 43.51, 293.07°)
OKLaboklab(32.77% -0.0063 -0.1154)
OKLCHoklch(32.77% 0.116 266.9)
XYZxyz(4.2712, 3.3208, 15.4517)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E6F #6F5B1A
analogous
#1A596F #1A2E6F #301A6F
triadic
#1A2E6F #6F1A2E #2E6F1A
tetradic
#1A2E6F #6F1A59 #6F5B1A #1A6F30
square
#1A2E6F #6F1A59 #6F5B1A #1A6F30
split-complementary
#1A2E6F #6F301A #596F1A
monochromatic
#060A19 #0E193D #1A2E6F #2643A1 #3459CF

Accessibility & contrast

On white

12.62
#1A2E6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2E6F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E6F#FFFFFF#000000##FFFFFF
##1A2E6F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1a2e6f;
/* rgb */ color: rgb(26, 46, 111);
/* oklch */ color: oklch(32.8% 0.116 266.9);
Tailwind
colors: {
  custom: {
    50: '#646699',
    500: '#1a2e6f',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e6f;
$custom-light: #646699;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e6f",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 111
  },
  "hsl": {
    "h": 225.882,
    "s": 62.044,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.11555,
    "h": 266.9
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#1A2E6F
secondary
#A48D41
accent
#BF43E5
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #1A2E6F

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

Preview Lab → · Contrast checker → · Palette generator →

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