#1A2E65#1A2E65

#1A2E65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.100 H 265.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#1A2E65
RGBrgb(26, 46, 101)
HSLhsl(224, 59%, 25%)
HSVhsv(224, 74%, 40%)
CMYKcmyk(74.3%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.49, 12.95, -34.84)
CIE-LCHlch(20.49, 37.17, 290.39°)
OKLaboklab(31.92% -0.0072 -0.1001)
OKLCHoklch(31.92% 0.1 265.9)
XYZxyz(3.7511, 3.1128, 12.7125)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2E65 #65511A
analogous
#1A5465 #1A2E65 #2C1A65
triadic
#1A2E65 #651A2E #2E651A
tetradic
#1A2E65 #651A54 #65511A #1A652C
square
#1A2E65 #651A54 #65511A #1A652C
split-complementary
#1A2E65 #652C1A #54651A
monochromatic
#060B18 #0D1834 #1A2E65 #274496 #335AC6

Accessibility & contrast

On white

12.94
#1A2E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1A2E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2E65
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2E65#FFFFFF#000000##FFFFFF
##1A2E651.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3567
Deuteranopia (green-blind)
#002E64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2e65;
/* rgb */ color: rgb(26, 46, 101);
/* oklch */ color: oklch(31.9% 0.100 265.9);
Tailwind
colors: {
  custom: {
    50: '#616691',
    500: '#1a2e65',
    950: '#000000',
  },
}
SCSS
$custom: #1a2e65;
$custom-light: #616691;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2e65",
  "rgb": {
    "r": 26,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 224,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.10035,
    "h": 265.9
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#1A2E65
secondary
#9B8340
accent
#B846E2
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #1A2E65

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

Preview Lab → · Contrast checker → · Palette generator →

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