#274EB4#274EB4

#274EB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.168 H 264.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#274EB4
RGBrgb(39, 78, 180)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 71%)
CMYKcmyk(78.3%, 56.7%, 0%, 29.4%)
CIE-LABlab(36.32, 23.90, -58.02)
CIE-LCHlch(36.32, 62.75, 292.39°)
OKLaboklab(45.97% -0.0156 -0.1675)
OKLCHoklch(45.97% 0.168 264.7)
XYZxyz(11.7964, 9.1740, 44.3202)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB4 #B48D27
analogous
#2795B4 #274EB4 #4627B4
triadic
#274EB4 #B4274E #4EB427
tetradic
#274EB4 #B42795 #B48D27 #27B446
square
#274EB4 #B42795 #B48D27 #27B446
split-complementary
#274EB4 #B44627 #95B427
monochromatic
#11224F #1C3882 #274EB4 #426BD6 #7492E1

Accessibility & contrast

On white

7.41
#274EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#274EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EB4
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB4#FFFFFF#000000##FFFFFF
##274EB41.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #274eb4;
/* rgb */ color: rgb(39, 78, 180);
/* oklch */ color: oklch(46.0% 0.168 264.7);
Tailwind
colors: {
  custom: {
    50: '#777fcb',
    500: '#274eb4',
    950: '#000000',
  },
}
SCSS
$custom: #274eb4;
$custom-light: #777fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb4",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 223.404,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.16819,
    "h": 264.7
  },
  "luminance": 0.09175
}

Semantic roles & 50–950 ramp

primary
#274EB4
secondary
#C8AF6F
accent
#B940E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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