#274BB4#274BB4

#274BB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.172 H 265.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#274BB4
RGBrgb(39, 75, 180)
HSLhsl(225, 64%, 43%)
HSVhsv(225, 78%, 71%)
CMYKcmyk(78.3%, 58.3%, 0%, 29.4%)
CIE-LABlab(35.51, 25.89, -59.33)
CIE-LCHlch(35.51, 64.73, 293.58°)
OKLaboklab(45.37% -0.0135 -0.1713)
OKLCHoklch(45.37% 0.172 265.5)
XYZxyz(11.5881, 8.7574, 44.2508)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274BB4 #B49027
analogous
#2791B4 #274BB4 #4927B4
triadic
#274BB4 #B4274B #4BB427
tetradic
#274BB4 #B42791 #B49027 #27B449
square
#274BB4 #B42791 #B49027 #27B449
split-complementary
#274BB4 #B44927 #91B427
monochromatic
#11214F #1C3682 #274BB4 #4268D6 #7490E1

Accessibility & contrast

On white

7.63
#274BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#274BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274BB4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274BB4#FFFFFF#000000##FFFFFF
##274BB41.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274bb4;
/* rgb */ color: rgb(39, 75, 180);
/* oklch */ color: oklch(45.4% 0.172 265.5);
Tailwind
colors: {
  custom: {
    50: '#787ccb',
    500: '#274bb4',
    950: '#000000',
  },
}
SCSS
$custom: #274bb4;
$custom-light: #787ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#274bb4",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 180
  },
  "hsl": {
    "h": 224.681,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45365,
    "c": 0.17188,
    "h": 265.5
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#274BB4
secondary
#C8B16F
accent
#BD40E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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