#274FB4#274FB4

#274FB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.2% C 0.167 H 264.4°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#274FB4
RGBrgb(39, 79, 180)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 71%)
CMYKcmyk(78.3%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.59, 23.24, -57.58)
CIE-LCHlch(36.59, 62.09, 291.98°)
OKLaboklab(46.17% -0.0163 -0.1661)
OKLCHoklch(46.17% 0.167 264.4)
XYZxyz(11.8680, 9.3172, 44.3441)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FB4 #B48C27
analogous
#2795B4 #274FB4 #4627B4
triadic
#274FB4 #B4274F #4FB427
tetradic
#274FB4 #B42795 #B48C27 #27B446
square
#274FB4 #B42795 #B48C27 #27B446
split-complementary
#274FB4 #B44627 #95B427
monochromatic
#11234F #1C3982 #274FB4 #426CD6 #7493E1

Accessibility & contrast

On white

7.33
#274FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#274FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274FB4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FB4#FFFFFF#000000##FFFFFF
##274FB41.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274fb4;
/* rgb */ color: rgb(39, 79, 180);
/* oklch */ color: oklch(46.2% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#777fcb',
    500: '#274fb4',
    950: '#000000',
  },
}
SCSS
$custom: #274fb4;
$custom-light: #777fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#274fb4",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 222.979,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.16695,
    "h": 264.4
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#274FB4
secondary
#C8AF6F
accent
#B840E7
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #274FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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