#274EE2#274EE2

#274EE2 is a mid, highly saturated blue. Relative luminance 0.114; OKLCH L 50.0% C 0.227 H 266.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#274EE2
RGBrgb(39, 78, 226)
HSLhsl(227, 76%, 52%)
HSVhsv(227, 83%, 89%)
CMYKcmyk(82.7%, 65.5%, 0%, 11.4%)
CIE-LABlab(40.20, 41.05, -78.33)
CIE-LCHlch(40.20, 88.44, 297.66°)
OKLaboklab(50.04% -0.0153 -0.227)
OKLCHoklch(50.04% 0.227 266.1)
XYZxyz(17.2837, 11.3690, 73.2202)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EE2 #E2BB27
analogous
#27ABE2 #274EE2 #5E27E2
triadic
#274EE2 #E2274E #4EE227
tetradic
#274EE2 #E227AB #E2BB27 #27E25E
square
#274EE2 #E227AB #E2BB27 #27E25E
split-complementary
#274EE2 #E25E27 #ABE227
monochromatic
#11287E #1839B4 #274EE2 #5D7AE9 #93A6F0

Accessibility & contrast

On white

6.41
#274EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#274EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #274EE2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EE2#FFFFFF#000000##FFFFFF
##274EE21.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0056DF
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #274ee2;
/* rgb */ color: rgb(39, 78, 226);
/* oklch */ color: oklch(50.0% 0.227 266.1);
Tailwind
colors: {
  custom: {
    50: '#837fec',
    500: '#274ee2',
    950: '#000000',
  },
}
SCSS
$custom: #274ee2;
$custom-light: #837fec;
$custom-dark: #000000;
JSON
{
  "hex": "#274ee2",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 227.487,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.22749,
    "h": 266.1
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#274EE2
secondary
#DBCA89
accent
#CB35F3
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #274EE2

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

Preview Lab → · Contrast checker → · Palette generator →

#274EE2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva