#274EB6#274EB6

#274EB6 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.171 H 264.8°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#274EB6
RGBrgb(39, 78, 182)
HSLhsl(224, 65%, 43%)
HSVhsv(224, 79%, 71%)
CMYKcmyk(78.6%, 57.1%, 0%, 28.6%)
CIE-LABlab(36.47, 24.67, -58.95)
CIE-LCHlch(36.47, 63.90, 292.71°)
OKLaboklab(46.14% -0.0155 -0.1702)
OKLCHoklch(46.14% 0.171 264.8)
XYZxyz(12.0016, 9.2561, 45.4010)
Luminance0.0926 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EB6 #B68F27
analogous
#2795B6 #274EB6 #4727B6
triadic
#274EB6 #B6274E #4EB627
tetradic
#274EB6 #B62795 #B68F27 #27B647
square
#274EB6 #B62795 #B68F27 #27B647
split-complementary
#274EB6 #B64727 #95B627
monochromatic
#112351 #1C3884 #274EB6 #436CD7 #7693E2

Accessibility & contrast

On white

7.36
#274EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#274EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EB6
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EB6#FFFFFF#000000##FFFFFF
##274EB61.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #274eb6;
/* rgb */ color: rgb(39, 78, 182);
/* oklch */ color: oklch(46.1% 0.171 264.8);
Tailwind
colors: {
  custom: {
    50: '#787fcd',
    500: '#274eb6',
    950: '#000000',
  },
}
SCSS
$custom: #274eb6;
$custom-light: #787fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#274eb6",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 182
  },
  "hsl": {
    "h": 223.636,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.17088,
    "h": 264.8
  },
  "luminance": 0.09258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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