#274788#274788

#274788 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.115 H 262.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#274788
RGBrgb(39, 71, 136)
HSLhsl(220, 55%, 34%)
HSVhsv(220, 71%, 53%)
CMYKcmyk(71.3%, 47.8%, 0%, 46.7%)
CIE-LABlab(31.15, 11.54, -39.84)
CIE-LCHlch(31.15, 41.47, 286.16°)
OKLaboklab(41.03% -0.0146 -0.1141)
OKLCHoklch(41.03% 0.115 262.7)
XYZxyz(7.5323, 6.7146, 24.1869)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274788 #886827
analogous
#277888 #274788 #372788
triadic
#274788 #882747 #478827
tetradic
#274788 #882778 #886827 #278837
square
#274788 #882778 #886827 #278837
split-complementary
#274788 #883727 #788827
monochromatic
#0C1529 #192E58 #274788 #3560B8 #5A81D0

Accessibility & contrast

On white

8.96
#274788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#274788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274788
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274788#FFFFFF#000000##FFFFFF
##2747881.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#114587
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274788;
/* rgb */ color: rgb(39, 71, 136);
/* oklch */ color: oklch(41.0% 0.115 262.7);
Tailwind
colors: {
  custom: {
    50: '#6e79ab',
    500: '#274788',
    950: '#000000',
  },
}
SCSS
$custom: #274788;
$custom-light: #6e79ab;
$custom-dark: #000000;
JSON
{
  "hex": "#274788",
  "rgb": {
    "r": 39,
    "g": 71,
    "b": 136
  },
  "hsl": {
    "h": 220.206,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41031,
    "c": 0.11502,
    "h": 262.7
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#274788
secondary
#B59556
accent
#AD49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274788

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

Preview Lab → · Contrast checker → · Palette generator →

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