#274C85#274C85

#274C85 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.0% C 0.104 H 258.8°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#274C85
RGBrgb(39, 76, 133)
HSLhsl(216, 55%, 34%)
HSVhsv(216, 71%, 52%)
CMYKcmyk(70.7%, 42.9%, 0%, 47.8%)
CIE-LABlab(32.46, 7.01, -35.88)
CIE-LCHlch(32.46, 36.56, 281.06°)
OKLaboklab(41.98% -0.0202 -0.1024)
OKLCHoklch(41.98% 0.104 258.8)
XYZxyz(7.6533, 7.2929, 23.1901)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C85 #856027
analogous
#277B85 #274C85 #312785
triadic
#274C85 #85274C #4C8527
tetradic
#274C85 #85277B #856027 #278531
square
#274C85 #85277B #856027 #278531
split-complementary
#274C85 #853127 #7B8527
monochromatic
#0B1626 #193156 #274C85 #3567B4 #5887CE

Accessibility & contrast

On white

8.54
#274C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C85
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C85#FFFFFF#000000##FFFFFF
##274C851.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274c85;
/* rgb */ color: rgb(39, 76, 133);
/* oklch */ color: oklch(42.0% 0.104 258.8);
Tailwind
colors: {
  custom: {
    50: '#6d7da9',
    500: '#274c85',
    950: '#000000',
  },
}
SCSS
$custom: #274c85;
$custom-light: #6d7da9;
$custom-dark: #000000;
JSON
{
  "hex": "#274c85",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 133
  },
  "hsl": {
    "h": 216.383,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41984,
    "c": 0.10436,
    "h": 258.8
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274C85

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

Preview Lab → · Contrast checker → · Palette generator →

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