#274EA1#274EA1

#274EA1 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.5% C 0.142 H 263.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#274EA1
RGBrgb(39, 78, 161)
HSLhsl(221, 61%, 39%)
HSVhsv(221, 76%, 63%)
CMYKcmyk(75.8%, 51.6%, 0%, 36.9%)
CIE-LABlab(34.91, 16.55, -48.99)
CIE-LCHlch(34.91, 51.71, 288.67°)
OKLaboklab(44.46% -0.0173 -0.1409)
OKLCHoklch(44.46% 0.142 263)
XYZxyz(9.9918, 8.4522, 34.8161)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA1 #A17A27
analogous
#278BA1 #274EA1 #3D27A1
triadic
#274EA1 #A1274E #4EA127
tetradic
#274EA1 #A1278B #A17A27 #27A13D
square
#274EA1 #A1278B #A17A27 #27A13D
split-complementary
#274EA1 #A13D27 #8BA127
monochromatic
#0F1E3E #1B3670 #274EA1 #3767CE #688DDA

Accessibility & contrast

On white

7.80
#274EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#274EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EA1
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA1#FFFFFF#000000##FFFFFF
##274EA11.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A58A4
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ea1;
/* rgb */ color: rgb(39, 78, 161);
/* oklch */ color: oklch(44.5% 0.142 263.0);
Tailwind
colors: {
  custom: {
    50: '#737fbd',
    500: '#274ea1',
    950: '#000000',
  },
}
SCSS
$custom: #274ea1;
$custom-light: #737fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea1",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 220.82,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.14197,
    "h": 263
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#274EA1
secondary
#C0A363
accent
#B144E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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