#274AB4#274AB4

#274AB4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 265.7°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#274AB4
RGBrgb(39, 74, 180)
HSLhsl(225, 64%, 43%)
HSVhsv(225, 78%, 71%)
CMYKcmyk(78.3%, 58.9%, 0%, 29.4%)
CIE-LABlab(35.25, 26.55, -59.76)
CIE-LCHlch(35.25, 65.39, 293.96°)
OKLaboklab(45.17% -0.0129 -0.1726)
OKLCHoklch(45.17% 0.173 265.7)
XYZxyz(11.5208, 8.6229, 44.2284)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AB4 #B49127
analogous
#2791B4 #274AB4 #4A27B4
triadic
#274AB4 #B4274A #4AB427
tetradic
#274AB4 #B42791 #B49127 #27B44A
square
#274AB4 #B42791 #B49127 #27B44A
split-complementary
#274AB4 #B44A27 #91B427
monochromatic
#11214F #1C3582 #274AB4 #4267D6 #748FE1

Accessibility & contrast

On white

7.71
#274AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#274AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AB4
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AB4#FFFFFF#000000##FFFFFF
##274AB41.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ab4;
/* rgb */ color: rgb(39, 74, 180);
/* oklch */ color: oklch(45.2% 0.173 265.7);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#274ab4',
    950: '#000000',
  },
}
SCSS
$custom: #274ab4;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#274ab4",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 225.106,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45167,
    "c": 0.17312,
    "h": 265.7
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#274AB4
secondary
#C8B26F
accent
#BE40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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