#274CB5#274CB5

#274CB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.172 H 265.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#274CB5
RGBrgb(39, 76, 181)
HSLhsl(224, 65%, 43%)
HSVhsv(224, 78%, 71%)
CMYKcmyk(78.5%, 58%, 0%, 29%)
CIE-LABlab(35.86, 25.61, -59.36)
CIE-LCHlch(35.86, 64.64, 293.34°)
OKLaboklab(45.65% -0.0142 -0.1714)
OKLCHoklch(45.65% 0.172 265.3)
XYZxyz(11.7587, 8.9351, 44.8120)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CB5 #B59027
analogous
#2793B5 #274CB5 #4927B5
triadic
#274CB5 #B5274C #4CB527
tetradic
#274CB5 #B52793 #B59027 #27B549
square
#274CB5 #B52793 #B59027 #27B549
split-complementary
#274CB5 #B54927 #93B527
monochromatic
#112250 #1C3783 #274CB5 #4369D6 #7591E1

Accessibility & contrast

On white

7.53
#274CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#274CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CB5
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CB5#FFFFFF#000000##FFFFFF
##274CB51.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274cb5;
/* rgb */ color: rgb(39, 76, 181);
/* oklch */ color: oklch(45.6% 0.172 265.3);
Tailwind
colors: {
  custom: {
    50: '#787dcc',
    500: '#274cb5',
    950: '#000000',
  },
}
SCSS
$custom: #274cb5;
$custom-light: #787dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#274cb5",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 224.366,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45649,
    "c": 0.17201,
    "h": 265.3
  },
  "luminance": 0.08936
}

Semantic roles & 50–950 ramp

primary
#274CB5
secondary
#C9B16F
accent
#BC40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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