#274CB2#274CB2

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

Color values

HEX#274CB2
RGBrgb(39, 76, 178)
HSLhsl(224, 64%, 43%)
HSVhsv(224, 78%, 70%)
CMYKcmyk(78.1%, 57.3%, 0%, 30.2%)
CIE-LABlab(35.62, 24.46, -57.97)
CIE-LCHlch(35.62, 62.92, 292.88°)
OKLaboklab(45.4% -0.0143 -0.1673)
OKLCHoklch(45.4% 0.168 265.1)
XYZxyz(11.4542, 8.8133, 43.2083)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274CB2 #B28D27
analogous
#2791B2 #274CB2 #4827B2
triadic
#274CB2 #B2274C #4CB227
tetradic
#274CB2 #B22791 #B28D27 #27B248
square
#274CB2 #B22791 #B28D27 #27B248
split-complementary
#274CB2 #B24827 #91B227
monochromatic
#11214E #1C3780 #274CB2 #4168D5 #7390E0

Accessibility & contrast

On white

7.60
#274CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#274CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274CB2
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274CB2#FFFFFF#000000##FFFFFF
##274CB21.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274cb2;
/* rgb */ color: rgb(39, 76, 178);
/* oklch */ color: oklch(45.4% 0.168 265.1);
Tailwind
colors: {
  custom: {
    50: '#777dca',
    500: '#274cb2',
    950: '#000000',
  },
}
SCSS
$custom: #274cb2;
$custom-light: #777dca;
$custom-dark: #000000;
JSON
{
  "hex": "#274cb2",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 224.029,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.16795,
    "h": 265.1
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#274CB2
secondary
#C8AF6D
accent
#BB41E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #274CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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