#274C86#274C86

#274C86 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.106 H 259.1°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#274C86
RGBrgb(39, 76, 134)
HSLhsl(217, 55%, 34%)
HSVhsv(217, 71%, 53%)
CMYKcmyk(70.9%, 43.3%, 0%, 47.5%)
CIE-LABlab(32.53, 7.40, -36.40)
CIE-LCHlch(32.53, 37.14, 281.49°)
OKLaboklab(42.05% -0.02 -0.1039)
OKLCHoklch(42.05% 0.106 259.1)
XYZxyz(7.7227, 7.3207, 23.5557)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C86 #866127
analogous
#277C86 #274C86 #322786
triadic
#274C86 #86274C #4C8627
tetradic
#274C86 #86277C #866127 #278632
square
#274C86 #86277C #866127 #278632
split-complementary
#274C86 #863227 #7C8627
monochromatic
#0B1627 #193157 #274C86 #3567B5 #5987CF

Accessibility & contrast

On white

8.52
#274C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#274C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C86
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C86#FFFFFF#000000##FFFFFF
##274C861.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315188
Deuteranopia (green-blind)
#214885
Tritanopia (blue-blind)
#005962
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274c86;
/* rgb */ color: rgb(39, 76, 134);
/* oklch */ color: oklch(42.1% 0.106 259.1);
Tailwind
colors: {
  custom: {
    50: '#6d7da9',
    500: '#274c86',
    950: '#000000',
  },
}
SCSS
$custom: #274c86;
$custom-light: #6d7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#274c86",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 134
  },
  "hsl": {
    "h": 216.632,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42051,
    "c": 0.10581,
    "h": 259.1
  },
  "luminance": 0.07321
}

Semantic roles & 50–950 ramp

primary
#274C86
secondary
#B48F55
accent
#A44ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274C86

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

Preview Lab → · Contrast checker → · Palette generator →

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