#274FA7#274FA7

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

Color values

HEX#274FA7
RGBrgb(39, 79, 167)
HSLhsl(221, 62%, 40%)
HSVhsv(221, 77%, 65%)
CMYKcmyk(76.6%, 52.7%, 0%, 34.5%)
CIE-LABlab(35.62, 18.21, -51.43)
CIE-LCHlch(35.62, 54.56, 289.50°)
OKLaboklab(45.14% -0.0174 -0.1481)
OKLCHoklch(45.14% 0.149 263.3)
XYZxyz(10.6052, 8.8121, 37.6937)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274FA7 #A77F27
analogous
#278FA7 #274FA7 #3F27A7
triadic
#274FA7 #A7274F #4FA727
tetradic
#274FA7 #A7278F #A77F27 #27A73F
square
#274FA7 #A7278F #A77F27 #27A73F
split-complementary
#274FA7 #A73F27 #8FA727
monochromatic
#102044 #1B3875 #274FA7 #3A69D1 #6C8FDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274FA7#FFFFFF#000000##FFFFFF
##274FA71.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)
#125AAA
Deuteranopia (green-blind)
#004EA5
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #274fa7;
/* rgb */ color: rgb(39, 79, 167);
/* oklch */ color: oklch(45.1% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#747fc2',
    500: '#274fa7',
    950: '#000000',
  },
}
SCSS
$custom: #274fa7;
$custom-light: #747fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#274fa7",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 167
  },
  "hsl": {
    "h": 221.25,
    "s": 62.136,
    "l": 40.392
  },
  "oklch": {
    "l": 0.45135,
    "c": 0.14909,
    "h": 263.3
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#274FA7
secondary
#C3A667
accent
#B243E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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