#274E87#274E87

#274E87 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.105 H 258.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#274E87
RGBrgb(39, 78, 135)
HSLhsl(216, 55%, 34%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(71.1%, 42.2%, 0%, 47.1%)
CIE-LABlab(33.20, 6.45, -35.94)
CIE-LCHlch(33.20, 36.52, 280.17°)
OKLaboklab(42.59% -0.0218 -0.1025)
OKLCHoklch(42.59% 0.105 258)
XYZxyz(7.9327, 7.6286, 23.9714)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E87 #876027
analogous
#277E87 #274E87 #302787
triadic
#274E87 #87274E #4E8727
tetradic
#274E87 #87277E #876027 #278730
square
#274E87 #87277E #876027 #278730
split-complementary
#274E87 #873027 #7E8727
monochromatic
#0C1728 #193358 #274E87 #3569B6 #5989CF

Accessibility & contrast

On white

8.31
#274E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E87
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E87#FFFFFF#000000##FFFFFF
##274E871.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335389
Deuteranopia (green-blind)
#244A86
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274e87;
/* rgb */ color: rgb(39, 78, 135);
/* oklch */ color: oklch(42.6% 0.105 258.0);
Tailwind
colors: {
  custom: {
    50: '#6d7faa',
    500: '#274e87',
    950: '#000000',
  },
}
SCSS
$custom: #274e87;
$custom-light: #6d7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#274e87",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 135
  },
  "hsl": {
    "h": 215.625,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.10483,
    "h": 258
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#274E87
secondary
#B48E56
accent
#A249DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #274E87

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

Preview Lab → · Contrast checker → · Palette generator →

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