#2F166F#2F166F
#2F166F es un color oscuro y vivo de la familia violeta. Luminancia relativa 0.023; OKLCH L 30.2% C 0.141 H 287.4°. El mejor color de texto es #FFFFFF con contraste 14.33:1 (cumple WCAG AA).
Valores del color
| HEX | #2F166F |
|---|---|
| RGB | rgb(47, 22, 111) |
| HSL | hsl(257, 67%, 26%) |
| HSV | hsv(257, 80%, 44%) |
| CMYK | cmyk(57.7%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(17.11, 35.82, -46.79) |
| CIE-LCH | lch(17.11, 58.93, 307.44°) |
| OKLab | oklab(30.15% 0.0423 -0.1346) |
| OKLCH | oklch(30.15% 0.141 287.4) |
| XYZ | xyz(4.3276, 2.3256, 15.2567) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Colores con nombre más cercanos
Midnight Blue
#191970
ΔE00 3.42
Indigo (survey)
#380282
ΔE00 4.45
Dark Indigo
#1F0954
ΔE00 5.12
Dark Royal Blue
#02066F
ΔE00 5.13
Darkblue (survey)
#030764
ΔE00 5.33
Deep Blue
#040273
ΔE00 5.42
Escalas perceptuales
Sombras
Matices
Tonos
OKLCH scale
Armonías de color
complementary
#2F166F #566F16
analogous
#16296F #2F166F #5B166F
triadic
#2F166F #6F2F16 #166F2F
tetradic
#2F166F #6F1629 #566F16 #166F5B
square
#2F166F #6F1629 #566F16 #166F5B
split-complementary
#2F166F #6F5B16 #296F16
monochromatic
#0B051A #190C3C #2F166F #4520A2 #5A2BD5
Accesibilidad y contraste
On white
14.33
#2F166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#2F166F on #000000
AA ✗AA large ✗AAA ✗
Mejor color de texto
#FFFFFF on #2F166F
14.33:1 — WCAG AA (texto normal) cumple
Matriz de contraste
| fg \ bg | ##2F166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F166F | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Vista previa de daltonismo
Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#132F42
Achromatopsia (no color)
#2A2A2A
Tokens de diseño y código
CSS
--color: #2f166f; /* rgb */ color: rgb(47, 22, 111); /* oklch */ color: oklch(30.2% 0.141 287.4);
Tailwind
colors: {
custom: {
50: '#705799',
500: '#2f166f',
950: '#000000',
},
}SCSS
$custom: #2f166f; $custom-light: #705799; $custom-dark: #000000;
JSON
{
"hex": "#2f166f",
"rgb": {
"r": 47,
"g": 22,
"b": 111
},
"hsl": {
"h": 256.854,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.30153,
"c": 0.14114,
"h": 287.4
},
"luminance": 0.02326
}Semantic roles & 50–950 ramp
primary
#2F166F
secondary
#87A53C
accent
#EA3EBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E
Laboratorio de vista previa
Laboratorio de vista previa → · Comprobador de contraste → · Generador de paletas →