#274FB1#274FB1

#274FB1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.163 H 264.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#274FB1
RGBrgb(39, 79, 177)
HSLhsl(223, 64%, 42%)
HSVhsv(223, 78%, 69%)
CMYKcmyk(78%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.36, 22.08, -56.18)
CIE-LCHlch(36.36, 60.36, 291.46°)
OKLaboklab(45.93% -0.0165 -0.162)
OKLCHoklch(45.93% 0.163 264.2)
XYZxyz(11.5657, 9.1963, 42.7520)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB1 #B18927
analogous
#2794B1 #274FB1 #4427B1
triadic
#274FB1 #B1274F #4FB127
tetradic
#274FB1 #B12794 #B18927 #27B144
square
#274FB1 #B12794 #B18927 #27B144
split-complementary
#274FB1 #B14427 #94B127
monochromatic
#11224D #1C397F #274FB1 #406BD5 #7292E0

Accessibility & contrast

On white

7.40
#274FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#274FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB1
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB1#FFFFFF#000000##FFFFFF
##274FB11.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274fb1;
/* rgb */ color: rgb(39, 79, 177);
/* oklch */ color: oklch(45.9% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#777fc9',
    500: '#274fb1',
    950: '#000000',
  },
}
SCSS
$custom: #274fb1;
$custom-light: #777fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb1",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 222.609,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.16287,
    "h": 264.2
  },
  "luminance": 0.09198
}

Semantic roles & 50–950 ramp

primary
#274FB1
secondary
#C7AD6D
accent
#B741E7
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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