#313FAB#313FAB

#313FAB es un color oscuro y vivo de la familia azul. Luminancia relativa 0.071; OKLCH L 42.8% C 0.172 H 271.3°. El mejor color de texto es #FFFFFF con contraste 8.64:1 (cumple WCAG AA).

Valores del color

HEX#313FAB
RGBrgb(49, 63, 171)
HSLhsl(233, 55%, 43%)
HSVhsv(233, 71%, 67%)
CMYKcmyk(71.3%, 63.2%, 0%, 32.9%)
CIE-LABlab(32.14, 31.59, -59.46)
CIE-LCHlch(32.14, 67.33, 297.98°)
OKLaboklab(42.76% 0.004 -0.1717)
OKLCHoklch(42.76% 0.172 271.3)
XYZxyz(10.3923, 7.1472, 39.3520)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Colores con nombre más cercanos

Escalas perceptuales

Sombras

Matices

Tonos

OKLCH scale

Armonías de color

complementary
#313FAB #AB9D31
analogous
#317CAB #313FAB #6031AB
triadic
#313FAB #AB313F #3FAB31
tetradic
#313FAB #AB317C #AB9D31 #31AB60
square
#313FAB #AB317C #AB9D31 #31AB60
split-complementary
#313FAB #AB6031 #7CAB31
monochromatic
#161C4C #232D7B #313FAB #4D5CCC #7D87DA

Accesibilidad y contraste

On white

8.64
#313FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#313FAB on #000000
AA ✗AA large ✗AAA ✗

Mejor color de texto

#FFFFFF on #313FAB
8.64:1 — WCAG AA (texto normal) cumple

Matriz de contraste

fg \ bg##313FAB#FFFFFF#000000##FFFFFF
##313FAB1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Vista previa de daltonismo

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4C4C4C

Tokens de diseño y código

CSS
--color: #313fab;
/* rgb */ color: rgb(49, 63, 171);
/* oklch */ color: oklch(42.8% 0.172 271.3);
Tailwind
colors: {
  custom: {
    50: '#7a74c5',
    500: '#313fab',
    950: '#000000',
  },
}
SCSS
$custom: #313fab;
$custom-light: #7a74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#313fab",
  "rgb": {
    "r": 49,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 233.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42755,
    "c": 0.17174,
    "h": 271.3
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#313FAB
secondary
#C2BA75
accent
#CE49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Laboratorio de vista previa

Vista previa con #313FAB

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

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

#313FAB — Tintiva