#274178#274178

#274178 is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.099 H 263.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#274178
RGBrgb(39, 65, 120)
HSLhsl(221, 51%, 31%)
HSVhsv(221, 68%, 47%)
CMYKcmyk(67.5%, 45.8%, 0%, 52.9%)
CIE-LABlab(28.29, 9.44, -34.44)
CIE-LCHlch(28.29, 35.71, 285.33°)
OKLaboklab(38.5% -0.0113 -0.0983)
OKLCHoklch(38.5% 0.099 263.4)
XYZxyz(6.1160, 5.5674, 18.5180)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274178 #785E27
analogous
#276978 #274178 #352778
triadic
#274178 #782741 #417827
tetradic
#274178 #782769 #785E27 #277835
square
#274178 #782769 #785E27 #277835
split-complementary
#274178 #783527 #697827
monochromatic
#090F1C #18284A #274178 #365AA6 #5278C7

Accessibility & contrast

On white

9.94
#274178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274178
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274178#FFFFFF#000000##FFFFFF
##2741781.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27477A
Deuteranopia (green-blind)
#1A3F77
Tritanopia (blue-blind)
#004E56
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274178;
/* rgb */ color: rgb(39, 65, 120);
/* oklch */ color: oklch(38.5% 0.099 263.4);
Tailwind
colors: {
  custom: {
    50: '#6a759f',
    500: '#274178',
    950: '#000000',
  },
}
SCSS
$custom: #274178;
$custom-light: #6a759f;
$custom-dark: #000000;
JSON
{
  "hex": "#274178",
  "rgb": {
    "r": 39,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 220.741,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38499,
    "c": 0.09898,
    "h": 263.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#274178
secondary
#AA8D51
accent
#AD4DDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274178

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

Preview Lab → · Contrast checker → · Palette generator →

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