#2D126F#2D126F
#2D126F es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.021; OKLCH L 29.5% C 0.145 H 286.8°. El mejor color de texto es #FFFFFF con contraste 14.71:1 (cumple WCAG AA).
Valores del color
| HEX | #2D126F |
|---|---|
| RGB | rgb(45, 18, 111) |
| HSL | hsl(257, 72%, 25%) |
| HSV | hsv(257, 84%, 44%) |
| CMYK | cmyk(59.5%, 83.8%, 0%, 56.5%) |
| CIE-LAB | lab(16.20, 37.53, -48.31) |
| CIE-LCH | lch(16.20, 61.17, 307.84°) |
| OKLab | oklab(29.46% 0.0419 -0.1391) |
| OKLCH | oklch(29.46% 0.145 286.8) |
| XYZ | xyz(4.1669, 2.1380, 15.2289) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Colores con nombre más cercanos
Midnight Blue
#191970
ΔE00 3.54
Indigo (survey)
#380282
ΔE00 3.97
Dark Royal Blue
#02066F
ΔE00 4.48
Deep Blue
#040273
ΔE00 4.69
Darkblue (survey)
#030764
ΔE00 4.76
Dark Indigo
#1F0954
ΔE00 4.85
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#2D126F #546F12
analogous
#12266F #2D126F #5B126F
triadic
#2D126F #6F2D12 #126F2D
tetradic
#2D126F #6F1226 #546F12 #126F5B
square
#2D126F #6F1226 #546F12 #126F5B
split-complementary
#2D126F #6F5B12 #266F12
monochromatic
#0B041A #18093A #2D126F #421BA4 #5823D8
Accesibilidad y contraste
On white
14.71
#2D126F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2D126F on #000000
AA ✗AA large ✗AAA ✗
Mejor color de texto
#FFFFFF on #2D126F
14.71:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##2D126F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D126F | 1.00 | 14.71 | 1.43 | 14.71 |
| #FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.71 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00266D
Tritanopia (blue-blind)
#0D2E41
Achromatopsia (no color)
#282828
Tokens de diseño y código
CSS
--color: #2d126f; /* rgb */ color: rgb(45, 18, 111); /* oklch */ color: oklch(29.5% 0.145 286.8);
Tailwind
colors: {
custom: {
50: '#6f5499',
500: '#2d126f',
950: '#000000',
},
}SCSS
$custom: #2d126f; $custom-light: #6f5499; $custom-dark: #000000;
JSON
{
"hex": "#2d126f",
"rgb": {
"r": 45,
"g": 18,
"b": 111
},
"hsl": {
"h": 257.419,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.29462,
"c": 0.14528,
"h": 286.8
},
"luminance": 0.02138
}Semantic roles & 50–950 ramp
primary
#2D126F
secondary
#86A637
accent
#EF39BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →