#274AB6#274AB6

#274AB6 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.176 H 265.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#274AB6
RGBrgb(39, 74, 182)
HSLhsl(225, 65%, 43%)
HSVhsv(225, 79%, 71%)
CMYKcmyk(78.6%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.41, 27.32, -60.68)
CIE-LCHlch(35.41, 66.54, 294.24°)
OKLaboklab(45.34% -0.0128 -0.1753)
OKLCHoklch(45.34% 0.176 265.8)
XYZxyz(11.7260, 8.7049, 45.3091)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274AB6 #B69327
analogous
#2791B6 #274AB6 #4C27B6
triadic
#274AB6 #B6274A #4AB627
tetradic
#274AB6 #B62791 #B69327 #27B64C
square
#274AB6 #B62791 #B69327 #27B64C
split-complementary
#274AB6 #B64C27 #91B627
monochromatic
#112151 #1C3684 #274AB6 #4367D7 #7690E2

Accessibility & contrast

On white

7.66
#274AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274AB6
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274AB6#FFFFFF#000000##FFFFFF
##274AB61.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ab6;
/* rgb */ color: rgb(39, 74, 182);
/* oklch */ color: oklch(45.3% 0.176 265.8);
Tailwind
colors: {
  custom: {
    50: '#787ccd',
    500: '#274ab6',
    950: '#000000',
  },
}
SCSS
$custom: #274ab6;
$custom-light: #787ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#274ab6",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 225.315,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45338,
    "c": 0.1758,
    "h": 265.8
  },
  "luminance": 0.08706
}

Semantic roles & 50–950 ramp

primary
#274AB6
secondary
#C9B370
accent
#BF40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0914
muted
#7C7B82

Preview Lab

Preview with #274AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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