#2A408B#2A408B

#2A408B es un color oscuro y vivo de la familia azul. Luminancia relativa 0.060; OKLCH L 39.9% C 0.128 H 267.9°. El mejor color de texto es #FFFFFF con contraste 9.53:1 (cumple WCAG AA).

Valores del color

HEX#2A408B
RGBrgb(42, 64, 139)
HSLhsl(226, 54%, 35%)
HSVhsv(226, 70%, 55%)
CMYKcmyk(69.8%, 54%, 0%, 45.5%)
CIE-LABlab(29.47, 17.96, -44.38)
CIE-LCHlch(29.47, 47.88, 292.03°)
OKLaboklab(39.86% -0.0047 -0.1275)
OKLCHoklch(39.86% 0.128 267.9)
XYZxyz(7.4468, 6.0224, 25.1911)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#2A408B #8B752A
analogous
#2A708B #2A408B #452A8B
triadic
#2A408B #8B2A40 #408B2A
tetradic
#2A408B #8B2A70 #8B752A #2A8B45
square
#2A408B #8B2A70 #8B752A #2A8B45
split-complementary
#2A408B #8B452A #708B2A
monochromatic
#0E152D #1C2A5C #2A408B #3856BA #6079CF

Accesibilidad y contraste

On white

9.53
#2A408B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2A408B on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #2A408B
9.53:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##2A408B#FFFFFF#000000##FFFFFF
##2A408B1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#0F4A8E
Deuteranopia (green-blind)
#004189
Tritanopia (blue-blind)
#00525F
Achromatopsia (no color)
#454545

Tokens de diseño y código

CSS
--color: #2a408b;
/* rgb */ color: rgb(42, 64, 139);
/* oklch */ color: oklch(39.9% 0.128 267.9);
Tailwind
colors: {
  custom: {
    50: '#7074ad',
    500: '#2a408b',
    950: '#000000',
  },
}
SCSS
$custom: #2a408b;
$custom-light: #7074ad;
$custom-dark: #000000;
JSON
{
  "hex": "#2a408b",
  "rgb": {
    "r": 42,
    "g": 64,
    "b": 139
  },
  "hsl": {
    "h": 226.392,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39859,
    "c": 0.12762,
    "h": 267.9
  },
  "luminance": 0.06023
}

Semantic roles & 50–950 ramp

primary
#2A408B
secondary
#B5A15C
accent
#BC4BDD
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Laboratorio de vista previa

Vista previa con #2A408B

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

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

#2A408B — Tintiva