#181275#181275

#181275 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.4% C 0.157 H 272.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#181275
RGBrgb(24, 18, 117)
HSLhsl(244, 73%, 26%)
HSVhsv(244, 85%, 46%)
CMYKcmyk(79.5%, 84.6%, 0%, 54.1%)
CIE-LABlab(15.01, 37.34, -54.21)
CIE-LCHlch(15.01, 65.83, 304.56°)
OKLaboklab(28.38% 0.0073 -0.1569)
OKLCHoklch(28.38% 0.157 272.7)
XYZxyz(3.8028, 1.9107, 16.9946)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181275 #6F7512
analogous
#123E75 #181275 #4A1275
triadic
#181275 #751812 #127518
tetradic
#181275 #75123E #6F7512 #12754A
square
#181275 #75123E #6F7512 #12754A
split-complementary
#181275 #754A12 #3E7512
monochromatic
#05041B #0D0A40 #181275 #231AAA #2F24DD

Accessibility & contrast

On white

15.19
#181275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181275
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181275#FFFFFF#000000##FFFFFF
##1812751.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002173
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181275;
/* rgb */ color: rgb(24, 18, 117);
/* oklch */ color: oklch(28.4% 0.157 272.7);
Tailwind
colors: {
  custom: {
    50: '#68539e',
    500: '#181275',
    950: '#000000',
  },
}
SCSS
$custom: #181275;
$custom-light: #68539e;
$custom-dark: #000000;
JSON
{
  "hex": "#181275",
  "rgb": {
    "r": 24,
    "g": 18,
    "b": 117
  },
  "hsl": {
    "h": 243.636,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.28377,
    "c": 0.15703,
    "h": 272.7
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#181275
secondary
#A5AC37
accent
#F038E5
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181275

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

Preview Lab → · Contrast checker → · Palette generator →

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