#274D87#274D87

#274D87 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.106 H 258.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#274D87
RGBrgb(39, 77, 135)
HSLhsl(216, 55%, 34%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(71.1%, 43%, 0%, 47.1%)
CIE-LABlab(32.89, 7.12, -36.43)
CIE-LCHlch(32.89, 37.12, 281.05°)
OKLaboklab(42.36% -0.0208 -0.104)
OKLCHoklch(42.36% 0.106 258.7)
XYZxyz(7.8622, 7.4875, 23.9479)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D87 #876127
analogous
#277D87 #274D87 #312787
triadic
#274D87 #87274D #4D8727
tetradic
#274D87 #87277D #876127 #278731
square
#274D87 #87277D #876127 #278731
split-complementary
#274D87 #873127 #7D8727
monochromatic
#0C1728 #193258 #274D87 #3568B6 #5988CF

Accessibility & contrast

On white

8.41
#274D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#274D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D87
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D87#FFFFFF#000000##FFFFFF
##274D871.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274d87;
/* rgb */ color: rgb(39, 77, 135);
/* oklch */ color: oklch(42.4% 0.106 258.7);
Tailwind
colors: {
  custom: {
    50: '#6d7eaa',
    500: '#274d87',
    950: '#000000',
  },
}
SCSS
$custom: #274d87;
$custom-light: #6d7eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#274d87",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 135
  },
  "hsl": {
    "h": 216.25,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.10604,
    "h": 258.7
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#274D87
secondary
#B48F56
accent
#A349DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274D87

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

Preview Lab → · Contrast checker → · Palette generator →

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