#1A2E4C#1A2E4C

#1A2E4C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.061 H 258.3°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#1A2E4C
RGBrgb(26, 46, 76)
HSLhsl(216, 49%, 20%)
HSVhsv(216, 66%, 30%)
CMYKcmyk(65.8%, 39.5%, 0%, 70.2%)
CIE-LABlab(18.78, 2.78, -20.96)
CIE-LCHlch(18.78, 21.15, 277.56°)
OKLaboklab(30.05% -0.0123 -0.0594)
OKLCHoklch(30.05% 0.061 258.3)
XYZxyz(2.7070, 2.6952, 7.2136)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E4C #4C381A
analogous
#1A474C #1A2E4C #1F1A4C
triadic
#1A2E4C #4C1A2E #2E4C1A
tetradic
#1A2E4C #4C1A47 #4C381A #1A4C1F
square
#1A2E4C #4C1A47 #4C381A #1A4C1F
split-complementary
#1A2E4C #4C1F1A #474C1A
monochromatic
#080E17 #0A121E #1A2E4C #2A4A7A #3965A7

Accessibility & contrast

On white

13.65
#1A2E4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#1A2E4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E4C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E4C#FFFFFF#000000##FFFFFF
##1A2E4C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21304D
Deuteranopia (green-blind)
#1B2C4B
Tritanopia (blue-blind)
#003539
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #1a2e4c;
/* rgb */ color: rgb(26, 46, 76);
/* oklch */ color: oklch(30.1% 0.061 258.3);
Tailwind
colors: {
  custom: {
    50: '#5c667e',
    500: '#1a2e4c',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e4c;
$custom-light: #5c667e;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e4c",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 76
  },
  "hsl": {
    "h": 216,
    "s": 49.02,
    "l": 20
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.06062,
    "h": 258.3
  },
  "luminance": 0.02695
}

Semantic roles & 50–950 ramp

primary
#1A2E4C
secondary
#826840
accent
#A24FD9
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #1A2E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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