#274FA6#274FA6

#274FA6 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.148 H 263.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#274FA6
RGBrgb(39, 79, 166)
HSLhsl(221, 62%, 40%)
HSVhsv(221, 77%, 65%)
CMYKcmyk(76.5%, 52.4%, 0%, 34.9%)
CIE-LABlab(35.55, 17.82, -50.95)
CIE-LCHlch(35.55, 53.98, 289.28°)
OKLaboklab(45.06% -0.0175 -0.1467)
OKLCHoklch(45.06% 0.148 263.2)
XYZxyz(10.5132, 8.7753, 37.2087)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA6 #A67E27
analogous
#278FA6 #274FA6 #3E27A6
triadic
#274FA6 #A6274F #4FA627
tetradic
#274FA6 #A6278F #A67E27 #27A63E
square
#274FA6 #A6278F #A67E27 #27A63E
split-complementary
#274FA6 #A63E27 #8FA627
monochromatic
#102043 #1B3774 #274FA6 #3A69D1 #6B8FDC

Accessibility & contrast

On white

7.62
#274FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274FA6
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274FA6#FFFFFF#000000##FFFFFF
##274FA61.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155AA9
Deuteranopia (green-blind)
#004EA4
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274fa6;
/* rgb */ color: rgb(39, 79, 166);
/* oklch */ color: oklch(45.1% 0.148 263.2);
Tailwind
colors: {
  custom: {
    50: '#747fc1',
    500: '#274fa6',
    950: '#000000',
  },
}
SCSS
$custom: #274fa6;
$custom-light: #747fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa6",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 221.102,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45057,
    "c": 0.14771,
    "h": 263.2
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#274FA6
secondary
#C3A666
accent
#B243E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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