#274C87#274C87

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

Color values

HEX#274C87
RGBrgb(39, 76, 135)
HSLhsl(217, 55%, 34%)
HSVhsv(217, 71%, 53%)
CMYKcmyk(71.1%, 43.7%, 0%, 47.1%)
CIE-LABlab(32.59, 7.78, -36.91)
CIE-LCHlch(32.59, 37.73, 281.91°)
OKLaboklab(42.12% -0.0198 -0.1054)
OKLCHoklch(42.12% 0.107 259.4)
XYZxyz(7.7927, 7.3487, 23.9247)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C87 #876227
analogous
#277C87 #274C87 #322787
triadic
#274C87 #87274C #4C8727
tetradic
#274C87 #87277C #876227 #278732
square
#274C87 #87277C #876227 #278732
split-complementary
#274C87 #873227 #7C8727
monochromatic
#0C1728 #193158 #274C87 #3567B6 #5987CF

Accessibility & contrast

On white

8.50
#274C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C87
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C87#FFFFFF#000000##FFFFFF
##274C871.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#204986
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274c87;
/* rgb */ color: rgb(39, 76, 135);
/* oklch */ color: oklch(42.1% 0.107 259.4);
Tailwind
colors: {
  custom: {
    50: '#6d7daa',
    500: '#274c87',
    950: '#000000',
  },
}
SCSS
$custom: #274c87;
$custom-light: #6d7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#274c87",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 216.875,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.10727,
    "h": 259.4
  },
  "luminance": 0.07349
}

Semantic roles & 50–950 ramp

primary
#274C87
secondary
#B49056
accent
#A549DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274C87

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

Preview Lab → · Contrast checker → · Palette generator →

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