#274DBC#274DBC
#274DBC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.180 H 265.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #274DBC |
|---|---|
| RGB | rgb(39, 77, 188) |
| HSL | hsl(225, 66%, 45%) |
| HSV | hsv(225, 79%, 74%) |
| CMYK | cmyk(79.3%, 59%, 0%, 26.3%) |
| CIE-LAB | lab(36.68, 27.62, -62.13) |
| CIE-LCH | lch(36.68, 67.99, 293.97°) |
| OKLab | oklab(46.44% -0.0146 -0.1795) |
| OKLCH | oklch(46.44% 0.18 265.4) |
| XYZ | xyz(12.5645, 9.3685, 48.7133) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.93
Cobalt
#0047AB
ΔE00 3.73
Blue Blue
#2242C7
ΔE00 3.86
Blue (survey)
#0343DF
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 6.57
Sapphire (survey)
#2138AB
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#274DBC #BC9627
analogous
#2798BC #274DBC #4C27BC
triadic
#274DBC #BC274D #4DBC27
tetradic
#274DBC #BC2798 #BC9627 #27BC4C
square
#274DBC #BC2798 #BC9627 #27BC4C
split-complementary
#274DBC #BC4C27 #98BC27
monochromatic
#122357 #1C3889 #274DBC #476CD9 #7A95E3
Accessibility & contrast
On white
7.31
#274DBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#274DBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #274DBC
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##274DBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##274DBC | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #274dbc; /* rgb */ color: rgb(39, 77, 188); /* oklch */ color: oklch(46.4% 0.180 265.4);
Tailwind
colors: {
custom: {
50: '#797ed1',
500: '#274dbc',
950: '#000000',
},
}SCSS
$custom: #274dbc; $custom-light: #797ed1; $custom-dark: #000000;
JSON
{
"hex": "#274dbc",
"rgb": {
"r": 39,
"g": 77,
"b": 188
},
"hsl": {
"h": 224.698,
"s": 65.639,
"l": 44.51
},
"oklch": {
"l": 0.46443,
"c": 0.18014,
"h": 265.4
},
"luminance": 0.0937
}Semantic roles & 50–950 ramp
primary
#274DBC
secondary
#CBB573
accent
#BD3FE9
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82