#274EA8#274EA8

#274EA8 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.152 H 263.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#274EA8
RGBrgb(39, 78, 168)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 77%, 66%)
CMYKcmyk(76.8%, 53.6%, 0%, 34.1%)
CIE-LABlab(35.41, 19.27, -52.37)
CIE-LCHlch(35.41, 55.80, 290.20°)
OKLaboklab(45% -0.0165 -0.1508)
OKLCHoklch(45% 0.152 263.7)
XYZxyz(10.6265, 8.7061, 38.1586)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA8 #A88127
analogous
#278FA8 #274EA8 #4027A8
triadic
#274EA8 #A8274E #4EA827
tetradic
#274EA8 #A8278F #A88127 #27A840
square
#274EA8 #A8278F #A88127 #27A840
split-complementary
#274EA8 #A84027 #8FA827
monochromatic
#102045 #1B3776 #274EA8 #3B68D1 #6C8EDD

Accessibility & contrast

On white

7.66
#274EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#274EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EA8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA8#FFFFFF#000000##FFFFFF
##274EA81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5AAB
Deuteranopia (green-blind)
#004EA6
Tritanopia (blue-blind)
#006473
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ea8;
/* rgb */ color: rgb(39, 78, 168);
/* oklch */ color: oklch(45.0% 0.152 263.7);
Tailwind
colors: {
  custom: {
    50: '#757fc2',
    500: '#274ea8',
    950: '#000000',
  },
}
SCSS
$custom: #274ea8;
$custom-light: #757fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea8",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 168
  },
  "hsl": {
    "h": 221.86,
    "s": 62.319,
    "l": 40.588
  },
  "oklch": {
    "l": 0.45,
    "c": 0.15174,
    "h": 263.7
  },
  "luminance": 0.08707
}

Semantic roles & 50–950 ramp

primary
#274EA8
secondary
#C3A867
accent
#B442E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #274EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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