#161274#161274

#161274 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.1% C 0.156 H 271.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#161274
RGBrgb(22, 18, 116)
HSLhsl(242, 73%, 26%)
HSVhsv(242, 84%, 45%)
CMYKcmyk(81%, 84.5%, 0%, 54.5%)
CIE-LABlab(14.76, 36.87, -54.00)
CIE-LCHlch(14.76, 65.38, 304.32°)
OKLaboklab(28.13% 0.005 -0.1563)
OKLCHoklch(28.13% 0.156 271.8)
XYZxyz(3.6985, 1.8637, 16.6844)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#161274 #707412
analogous
#123F74 #161274 #471274
triadic
#161274 #741612 #127416
tetradic
#161274 #74123F #707412 #127447
square
#161274 #74123F #707412 #127447
split-complementary
#161274 #744712 #3F7412
monochromatic
#05041A #0C0A3F #161274 #201AA9 #2B23DD

Accessibility & contrast

On white

15.30
#161274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#161274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #161274
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##161274#FFFFFF#000000##FFFFFF
##1612741.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A77
Deuteranopia (green-blind)
#002072
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #161274;
/* rgb */ color: rgb(22, 18, 116);
/* oklch */ color: oklch(28.1% 0.156 271.8);
Tailwind
colors: {
  custom: {
    50: '#67539d',
    500: '#161274',
    950: '#000000',
  },
}
SCSS
$custom: #161274;
$custom-light: #67539d;
$custom-dark: #000000;
JSON
{
  "hex": "#161274",
  "rgb": {
    "r": 22,
    "g": 18,
    "b": 116
  },
  "hsl": {
    "h": 242.449,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28128,
    "c": 0.15635,
    "h": 271.8
  },
  "luminance": 0.01864
}

Semantic roles & 50–950 ramp

primary
#161274
secondary
#A6AB37
accent
#F038E8
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #161274

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

Preview Lab → · Contrast checker → · Palette generator →

#161274 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva