#274EA5#274EA5

#274EA5 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.148 H 263.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#274EA5
RGBrgb(39, 78, 165)
HSLhsl(221, 62%, 40%)
HSVhsv(221, 76%, 65%)
CMYKcmyk(76.4%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.19, 18.10, -50.93)
CIE-LCHlch(35.19, 54.05, 289.57°)
OKLaboklab(44.77% -0.0169 -0.1466)
OKLCHoklch(44.77% 0.148 263.4)
XYZxyz(10.3502, 8.5956, 36.7036)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA5 #A57E27
analogous
#278DA5 #274EA5 #3F27A5
triadic
#274EA5 #A5274E #4EA527
tetradic
#274EA5 #A5278D #A57E27 #27A53F
square
#274EA5 #A5278D #A57E27 #27A53F
split-complementary
#274EA5 #A53F27 #8DA527
monochromatic
#101F42 #1B3774 #274EA5 #3968D0 #6A8EDC

Accessibility & contrast

On white

7.72
#274EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#274EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EA5
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA5#FFFFFF#000000##FFFFFF
##274EA51.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1259A8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #274ea5;
/* rgb */ color: rgb(39, 78, 165);
/* oklch */ color: oklch(44.8% 0.148 263.4);
Tailwind
colors: {
  custom: {
    50: '#747fc0',
    500: '#274ea5',
    950: '#000000',
  },
}
SCSS
$custom: #274ea5;
$custom-light: #747fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea5",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 221.429,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.14757,
    "h": 263.4
  },
  "luminance": 0.08597
}

Semantic roles & 50–950 ramp

primary
#274EA5
secondary
#C2A666
accent
#B343E5
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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