#281F40#281F40

#281F40 es un color oscuro y moderadamente saturado de la familia violeta. Luminancia relativa 0.018; OKLCH L 26.8% C 0.060 H 294.5°. El mejor color de texto es #FFFFFF con contraste 15.44:1 (cumple WCAG AA).

Valores del color

HEX#281F40
RGBrgb(40, 31, 64)
HSLhsl(256, 35%, 19%)
HSVhsv(256, 52%, 25%)
CMYKcmyk(37.5%, 51.6%, 0%, 74.9%)
CIE-LABlab(14.41, 13.35, -19.56)
CIE-LCHlch(14.41, 23.68, 304.32°)
OKLaboklab(26.75% 0.0251 -0.055)
OKLCHoklch(26.75% 0.06 294.5)
XYZxyz(2.2902, 1.8012, 5.0765)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#281F40 #37401F
analogous
#1F2640 #281F40 #381F40
triadic
#281F40 #40281F #1F4028
tetradic
#281F40 #401F26 #37401F #1F4038
square
#281F40 #401F26 #37401F #1F4038
split-complementary
#281F40 #40381F #26401F
monochromatic
#0D0A15 #0E0B17 #281F40 #423369 #5C4792

Accesibilidad y contraste

On white

15.44
#281F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#281F40 on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #281F40
15.44:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##281F40#FFFFFF#000000##FFFFFF
##281F401.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#142541
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#23252C
Achromatopsia (no color)
#242424

Tokens de diseño y código

CSS
--color: #281f40;
/* rgb */ color: rgb(40, 31, 64);
/* oklch */ color: oklch(26.8% 0.060 294.5);
Tailwind
colors: {
  custom: {
    50: '#635a75',
    500: '#281f40',
    950: '#000000',
  },
}
SCSS
$custom: #281f40;
$custom-light: #635a75;
$custom-dark: #000000;
JSON
{
  "hex": "#281f40",
  "rgb": {
    "r": 40,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 256.364,
    "s": 34.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26751,
    "c": 0.06045,
    "h": 294.5
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#281F40
secondary
#687447
accent
#CB5DAD
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050408
muted
#79797B

Laboratorio de vista previa

Vista previa con #281F40

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

Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →

#281F40 — Tintiva