#1A2D68#1A2D68

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

Color values

HEX#1A2D68
RGBrgb(26, 45, 104)
HSLhsl(225, 60%, 25%)
HSVhsv(225, 75%, 41%)
CMYKcmyk(75%, 56.7%, 0%, 59.2%)
CIE-LABlab(20.42, 14.90, -36.90)
CIE-LCHlch(20.42, 39.80, 291.99°)
OKLaboklab(31.94% -0.006 -0.1062)
OKLCHoklch(31.94% 0.106 266.8)
XYZxyz(3.8622, 3.0955, 13.4880)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2D68 #68551A
analogous
#1A5468 #1A2D68 #2E1A68
triadic
#1A2D68 #681A2D #2D681A
tetradic
#1A2D68 #681A54 #68551A #1A682E
square
#1A2D68 #681A54 #68551A #1A682E
split-complementary
#1A2D68 #682E1A #54681A
monochromatic
#060B18 #0E1837 #1A2D68 #264299 #3257CA

Accessibility & contrast

On white

12.97
#1A2D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1A2D68
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2D68#FFFFFF#000000##FFFFFF
##1A2D681.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03356A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1a2d68;
/* rgb */ color: rgb(26, 45, 104);
/* oklch */ color: oklch(31.9% 0.106 266.8);
Tailwind
colors: {
  custom: {
    50: '#626594',
    500: '#1a2d68',
    950: '#000000',
  },
}
SCSS
$custom: #1a2d68;
$custom-light: #626594;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2d68",
  "rgb": {
    "r": 26,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 225.385,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31944,
    "c": 0.10635,
    "h": 266.8
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#1A2D68
secondary
#9D8740
accent
#BD45E3
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #1A2D68

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

Preview Lab → · Contrast checker → · Palette generator →

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