#274F87#274F87

#274F87 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.8% C 0.104 H 257.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#274F87
RGBrgb(39, 79, 135)
HSLhsl(215, 55%, 34%)
HSVhsv(215, 71%, 53%)
CMYKcmyk(71.1%, 41.5%, 0%, 47.1%)
CIE-LABlab(33.50, 5.79, -35.46)
CIE-LCHlch(33.50, 35.92, 279.27°)
OKLaboklab(42.83% -0.0229 -0.1011)
OKLCHoklch(42.83% 0.104 257.3)
XYZxyz(8.0043, 7.7717, 23.9952)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F87 #875F27
analogous
#277F87 #274F87 #2F2787
triadic
#274F87 #87274F #4F8727
tetradic
#274F87 #87277F #875F27 #27872F
square
#274F87 #87277F #875F27 #27872F
split-complementary
#274F87 #872F27 #7F8727
monochromatic
#0C1728 #193358 #274F87 #356BB6 #598ACF

Accessibility & contrast

On white

8.22
#274F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#274F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F87
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F87#FFFFFF#000000##FFFFFF
##274F871.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355489
Deuteranopia (green-blind)
#264B86
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274f87;
/* rgb */ color: rgb(39, 79, 135);
/* oklch */ color: oklch(42.8% 0.104 257.3);
Tailwind
colors: {
  custom: {
    50: '#6d7faa',
    500: '#274f87',
    950: '#000000',
  },
}
SCSS
$custom: #274f87;
$custom-light: #6d7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#274f87",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 215,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42828,
    "c": 0.10364,
    "h": 257.3
  },
  "luminance": 0.07773
}

Semantic roles & 50–950 ramp

primary
#274F87
secondary
#B48D56
accent
#A049DF
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #274F87

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

Preview Lab → · Contrast checker → · Palette generator →

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