#274177#274177

#274177 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.097 H 263.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#274177
RGBrgb(39, 65, 119)
HSLhsl(221, 51%, 31%)
HSVhsv(221, 67%, 47%)
CMYKcmyk(67.2%, 45.4%, 0%, 53.3%)
CIE-LABlab(28.23, 9.05, -33.91)
CIE-LCHlch(28.23, 35.10, 284.95°)
OKLaboklab(38.43% -0.0115 -0.0968)
OKLCHoklch(38.43% 0.097 263.2)
XYZxyz(6.0556, 5.5433, 18.2000)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274177 #775D27
analogous
#276977 #274177 #352777
triadic
#274177 #772741 #417727
tetradic
#274177 #772769 #775D27 #277735
square
#274177 #772769 #775D27 #277735
split-complementary
#274177 #773527 #697727
monochromatic
#090F1B #182849 #274177 #365AA5 #5278C6

Accessibility & contrast

On white

9.96
#274177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#274177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274177
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274177#FFFFFF#000000##FFFFFF
##2741771.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284779
Deuteranopia (green-blind)
#1B3F76
Tritanopia (blue-blind)
#004D56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274177;
/* rgb */ color: rgb(39, 65, 119);
/* oklch */ color: oklch(38.4% 0.097 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a759e',
    500: '#274177',
    950: '#000000',
  },
}
SCSS
$custom: #274177;
$custom-light: #6a759e;
$custom-dark: #000000;
JSON
{
  "hex": "#274177",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 119
  },
  "hsl": {
    "h": 220.5,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38429,
    "c": 0.09746,
    "h": 263.2
  },
  "luminance": 0.05544
}

Semantic roles & 50–950 ramp

primary
#274177
secondary
#A98C51
accent
#AC4EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274177

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

Preview Lab → · Contrast checker → · Palette generator →

#274177 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva