#2F6DC8#2F6DC8
#2F6DC8 is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.3% C 0.155 H 258.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6DC8 |
|---|---|
| RGB | rgb(47, 109, 200) |
| HSL | hsl(216, 62%, 48%) |
| HSV | hsv(216, 77%, 78%) |
| CMYK | cmyk(76.5%, 45.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.59, 12.27, -53.05) |
| CIE-LCH | lch(46.59, 54.45, 283.02°) |
| OKLab | oklab(54.33% -0.0315 -0.1521) |
| OKLCH | oklch(54.33% 0.155 258.3) |
| XYZ | xyz(17.0624, 15.7098, 56.7654) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.24
Mid Blue
#276AB3
ΔE00 3.18
French Blue
#436BAD
ΔE00 3.42
Cerulean Blue
#056EEE
ΔE00 3.99
Flat Blue
#3C73A8
ΔE00 4.24
Windows Blue
#3778BF
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6DC8 #C88A2F
analogous
#2FB9C8 #2F6DC8 #3D2FC8
triadic
#2F6DC8 #C82F6D #6DC82F
tetradic
#2F6DC8 #C82FB9 #C88A2F #2FC83D
square
#2F6DC8 #C82FB9 #C88A2F #2FC83D
split-complementary
#2F6DC8 #C83D2F #B9C82F
monochromatic
#183765 #235296 #2F6DC8 #5C8ED9 #8DB0E4
Accessibility & contrast
On white
5.07
#2F6DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#2F6DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6DC8
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6DC8 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#1A68C6
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f6dc8; /* rgb */ color: rgb(47, 109, 200); /* oklch */ color: oklch(54.3% 0.155 258.3);
Tailwind
colors: {
custom: {
50: '#7d96d9',
500: '#2f6dc8',
950: '#000000',
},
}SCSS
$custom: #2f6dc8; $custom-light: #7d96d9; $custom-dark: #000000;
JSON
{
"hex": "#2f6dc8",
"rgb": {
"r": 47,
"g": 109,
"b": 200
},
"hsl": {
"h": 215.686,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.54325,
"c": 0.15538,
"h": 258.3
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#2F6DC8
secondary
#CFB084
accent
#A343E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D15
muted
#7C7E83