#274EB7#274EB7

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

Color values

HEX#274EB7
RGBrgb(39, 78, 183)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 79%, 72%)
CMYKcmyk(78.7%, 57.4%, 0%, 28.2%)
CIE-LABlab(36.55, 25.05, -59.41)
CIE-LCHlch(36.55, 64.47, 292.86°)
OKLaboklab(46.22% -0.0154 -0.1715)
OKLCHoklch(46.22% 0.172 264.9)
XYZxyz(12.1053, 9.2976, 45.9472)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB7 #B79027
analogous
#2796B7 #274EB7 #4827B7
triadic
#274EB7 #B7274E #4EB727
tetradic
#274EB7 #B72796 #B79027 #27B748
square
#274EB7 #B72796 #B79027 #27B748
split-complementary
#274EB7 #B74827 #96B727
monochromatic
#112352 #1C3885 #274EB7 #446CD7 #7694E2

Accessibility & contrast

On white

7.34
#274EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274EB7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB7#FFFFFF#000000##FFFFFF
##274EB71.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274eb7;
/* rgb */ color: rgb(39, 78, 183);
/* oklch */ color: oklch(46.2% 0.172 264.9);
Tailwind
colors: {
  custom: {
    50: '#787fcd',
    500: '#274eb7',
    950: '#000000',
  },
}
SCSS
$custom: #274eb7;
$custom-light: #787fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb7",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 183
  },
  "hsl": {
    "h": 223.75,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46218,
    "c": 0.17223,
    "h": 264.9
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#274EB7
secondary
#C9B170
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #274EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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