#1A2268#1A2268

#1A2268 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 29.6% C 0.121 H 271.6°. Best body text is #FFFFFF at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#1A2268
RGBrgb(26, 34, 104)
HSLhsl(234, 60%, 25%)
HSVhsv(234, 75%, 41%)
CMYKcmyk(75%, 67.3%, 0%, 59.2%)
CIE-LABlab(17.29, 22.81, -42.01)
CIE-LCHlch(17.29, 47.80, 298.50°)
OKLaboklab(29.61% 0.0034 -0.1213)
OKLCHoklch(29.61% 0.121 271.6)
XYZxyz(3.4959, 2.3628, 13.3658)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1A2268 #68601A
analogous
#1A4968 #1A2268 #391A68
triadic
#1A2268 #681A22 #22681A
tetradic
#1A2268 #681A49 #68601A #1A6839
square
#1A2268 #681A49 #68601A #1A6839
split-complementary
#1A2268 #68391A #49681A
monochromatic
#060818 #0E1237 #1A2268 #263299 #3242CA

Accessibility & contrast

On white

14.26
#1A2268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#1A2268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1A2268
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1A2268#FFFFFF#000000##FFFFFF
##1A22681.0014.261.4714.26
#FFFFFF14.261.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002767
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #1a2268;
/* rgb */ color: rgb(26, 34, 104);
/* oklch */ color: oklch(29.6% 0.121 271.6);
Tailwind
colors: {
  custom: {
    50: '#635d94',
    500: '#1a2268',
    950: '#000000',
  },
}
SCSS
$custom: #1a2268;
$custom-light: #635d94;
$custom-dark: #000000;
JSON
{
  "hex": "#1a2268",
  "rgb": {
    "r": 26,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 233.846,
    "s": 60,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29608,
    "c": 0.12138,
    "h": 271.6
  },
  "luminance": 0.02363
}

Semantic roles & 50–950 ramp

primary
#1A2268
secondary
#9D9440
accent
#D345E3
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #1A2268

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

Preview Lab → · Contrast checker → · Palette generator →

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