#18287C#18287C

#18287C es un color oscuro y vivo de la familia azul. Luminancia relativa 0.032; OKLCH L 32.7% C 0.143 H 268.4°. El mejor color de texto es #FFFFFF con contraste 12.86:1 (cumple WCAG AA).

Valores del color

HEX#18287C
RGBrgb(24, 40, 124)
HSLhsl(230, 68%, 29%)
HSVhsv(230, 81%, 49%)
CMYKcmyk(80.6%, 67.7%, 0%, 51.4%)
CIE-LABlab(20.70, 26.27, -49.31)
CIE-LCHlch(20.70, 55.88, 298.05°)
OKLaboklab(32.67% -0.0039 -0.1427)
OKLCHoklch(32.67% 0.143 268.4)
XYZxyz(4.7723, 3.1665, 19.4245)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#18287C #7C6C18
analogous
#185A7C #18287C #3A187C
triadic
#18287C #7C1828 #287C18
tetradic
#18287C #7C185A #7C6C18 #187C3A
square
#18287C #7C185A #7C6C18 #187C3A
split-complementary
#18287C #7C3A18 #5A7C18
monochromatic
#05081A #0E1749 #18287C #2239AF #3650D8

Accesibilidad y contraste

On white

12.86
#18287C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#18287C on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #18287C
12.86:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##18287C#FFFFFF#000000##FFFFFF
##18287C1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#00377F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#323232

Tokens de diseño y código

CSS
--color: #18287c;
/* rgb */ color: rgb(24, 40, 124);
/* oklch */ color: oklch(32.7% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#6762a3',
    500: '#18287c',
    950: '#000000',
  },
}
SCSS
$custom: #18287c;
$custom-light: #6762a3;
$custom-dark: #000000;
JSON
{
  "hex": "#18287c",
  "rgb": {
    "r": 24,
    "g": 40,
    "b": 124
  },
  "hsl": {
    "h": 230.4,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32675,
    "c": 0.14277,
    "h": 268.4
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#18287C
secondary
#B19E3F
accent
#CF3DEA
background
#F6F5FA
surface
#EBEAF4
border
#C6C6CE
text
#07050F
muted
#7A797F

Laboratorio de vista previa

Vista previa con #18287C

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

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

#18287C — Tintiva