#274EA2#274EA2

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

Color values

HEX#274EA2
RGBrgb(39, 78, 162)
HSLhsl(221, 61%, 39%)
HSVhsv(221, 76%, 64%)
CMYKcmyk(75.9%, 51.9%, 0%, 36.5%)
CIE-LABlab(34.98, 16.94, -49.48)
CIE-LCHlch(34.98, 52.30, 288.90°)
OKLaboklab(44.53% -0.0172 -0.1423)
OKLCHoklch(44.53% 0.143 263.1)
XYZxyz(10.0804, 8.4876, 35.2824)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274EA2 #A27B27
analogous
#278CA2 #274EA2 #3E27A2
triadic
#274EA2 #A2274E #4EA227
tetradic
#274EA2 #A2278C #A27B27 #27A23E
square
#274EA2 #A2278C #A27B27 #27A23E
split-complementary
#274EA2 #A23E27 #8CA227
monochromatic
#0F1F3F #1B3671 #274EA2 #3767CF #698DDB

Accessibility & contrast

On white

7.78
#274EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#274EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274EA2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274EA2#FFFFFF#000000##FFFFFF
##274EA21.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #274ea2;
/* rgb */ color: rgb(39, 78, 162);
/* oklch */ color: oklch(44.5% 0.143 263.1);
Tailwind
colors: {
  custom: {
    50: '#737fbe',
    500: '#274ea2',
    950: '#000000',
  },
}
SCSS
$custom: #274ea2;
$custom-light: #737fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#274ea2",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 220.976,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.14338,
    "h": 263.1
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#274EA2
secondary
#C1A364
accent
#B143E4
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #274EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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