#274CB4#274CB4

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

Color values

HEX#274CB4
RGBrgb(39, 76, 180)
HSLhsl(224, 64%, 43%)
HSVhsv(224, 78%, 71%)
CMYKcmyk(78.3%, 57.8%, 0%, 29.4%)
CIE-LABlab(35.78, 25.23, -58.89)
CIE-LCHlch(35.78, 64.07, 293.19°)
OKLaboklab(45.57% -0.0142 -0.1701)
OKLCHoklch(45.57% 0.171 265.2)
XYZxyz(11.6564, 8.8942, 44.2736)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CB4 #B48F27
analogous
#2793B4 #274CB4 #4827B4
triadic
#274CB4 #B4274C #4CB427
tetradic
#274CB4 #B42793 #B48F27 #27B448
square
#274CB4 #B42793 #B48F27 #27B448
split-complementary
#274CB4 #B44827 #93B427
monochromatic
#11224F #1C3782 #274CB4 #4269D6 #7491E1

Accessibility & contrast

On white

7.56
#274CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#274CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CB4
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CB4#FFFFFF#000000##FFFFFF
##274CB41.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274cb4;
/* rgb */ color: rgb(39, 76, 180);
/* oklch */ color: oklch(45.6% 0.171 265.2);
Tailwind
colors: {
  custom: {
    50: '#787dcb',
    500: '#274cb4',
    950: '#000000',
  },
}
SCSS
$custom: #274cb4;
$custom-light: #787dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#274cb4",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 180
  },
  "hsl": {
    "h": 224.255,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45565,
    "c": 0.17065,
    "h": 265.2
  },
  "luminance": 0.08896
}

Semantic roles & 50–950 ramp

primary
#274CB4
secondary
#C8B16F
accent
#BC40E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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