#181265#181265

#181265 is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.4% C 0.137 H 274.8°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#181265
RGBrgb(24, 18, 101)
HSLhsl(244, 70%, 23%)
HSVhsv(244, 82%, 40%)
CMYKcmyk(76.2%, 82.2%, 0%, 60.4%)
CIE-LABlab(13.02, 31.88, -47.05)
CIE-LCHlch(13.02, 56.84, 304.12°)
OKLaboklab(26.41% 0.0115 -0.1361)
OKLCHoklch(26.41% 0.137 274.8)
XYZxyz(2.9412, 1.5661, 12.4567)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181265 #5F6512
analogous
#123565 #181265 #411265
triadic
#181265 #651812 #126518
tetradic
#181265 #651235 #5F6512 #126541
square
#181265 #651235 #5F6512 #126541
split-complementary
#181265 #654112 #356512
monochromatic
#06051A #0C0931 #181265 #241B99 #3125CD

Accessibility & contrast

On white

15.99
#181265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#181265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181265
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181265#FFFFFF#000000##FFFFFF
##1812651.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002567
Deuteranopia (green-blind)
#001E64
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #181265;
/* rgb */ color: rgb(24, 18, 101);
/* oklch */ color: oklch(26.4% 0.137 274.8);
Tailwind
colors: {
  custom: {
    50: '#635292',
    500: '#181265',
    950: '#000000',
  },
}
SCSS
$custom: #181265;
$custom-light: #635292;
$custom-dark: #000000;
JSON
{
  "hex": "#181265",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 244.337,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.2641,
    "c": 0.13656,
    "h": 274.8
  },
  "luminance": 0.01566
}

Semantic roles & 50–950 ramp

primary
#181265
secondary
#959D36
accent
#ED3BE0
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#06020D
muted
#7A787E

Preview Lab

Preview with #181265

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

Preview Lab → · Contrast checker → · Palette generator →

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