#1A3262#1A3262

#1A3262 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.6% C 0.090 H 262.5°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#1A3262
RGBrgb(26, 50, 98)
HSLhsl(220, 58%, 24%)
HSVhsv(220, 73%, 38%)
CMYKcmyk(73.5%, 49%, 0%, 61.6%)
CIE-LABlab(21.51, 8.83, -31.23)
CIE-LCHlch(21.51, 32.45, 285.78°)
OKLaboklab(32.63% -0.0117 -0.0894)
OKLCHoklch(32.63% 0.09 262.5)
XYZxyz(3.7704, 3.3823, 12.0070)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A3262 #624A1A
analogous
#1A5662 #1A3262 #261A62
triadic
#1A3262 #621A32 #32621A
tetradic
#1A3262 #621A56 #624A1A #1A6226
square
#1A3262 #621A56 #624A1A #1A6226
split-complementary
#1A3262 #62261A #56621A
monochromatic
#060C18 #0D1932 #1A3262 #274B92 #3463C3

Accessibility & contrast

On white

12.53
#1A3262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#1A3262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A3262
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A3262#FFFFFF#000000##FFFFFF
##1A32621.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3764
Deuteranopia (green-blind)
#0B3161
Tritanopia (blue-blind)
#003D45
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #1a3262;
/* rgb */ color: rgb(26, 50, 98);
/* oklch */ color: oklch(32.6% 0.090 262.5);
Tailwind
colors: {
  custom: {
    50: '#60698f',
    500: '#1a3262',
    950: '#000000',
  },
}
SCSS
$custom: #1a3262;
$custom-light: #60698f;
$custom-dark: #000000;
JSON
{
  "hex": "#1a3262",
  "rgb": {
    "r": 26,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 220,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32633,
    "c": 0.09017,
    "h": 262.5
  },
  "luminance": 0.03383
}

Semantic roles & 50–950 ramp

primary
#1A3262
secondary
#987B40
accent
#AE47E1
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1A3262

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

Preview Lab → · Contrast checker → · Palette generator →

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