#274E86#274E86

#274E86 is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.5% C 0.103 H 257.7°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#274E86
RGBrgb(39, 78, 134)
HSLhsl(215, 55%, 34%)
HSVhsv(215, 71%, 53%)
CMYKcmyk(70.9%, 41.8%, 0%, 47.5%)
CIE-LABlab(33.14, 6.07, -35.42)
CIE-LCHlch(33.14, 35.94, 279.72°)
OKLaboklab(42.53% -0.0221 -0.101)
OKLCHoklch(42.53% 0.103 257.7)
XYZxyz(7.8626, 7.6005, 23.6023)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E86 #865F27
analogous
#277E86 #274E86 #302786
triadic
#274E86 #86274E #4E8627
tetradic
#274E86 #86277E #865F27 #278630
square
#274E86 #86277E #865F27 #278630
split-complementary
#274E86 #863027 #7E8627
monochromatic
#0B1727 #193257 #274E86 #356AB5 #5989CF

Accessibility & contrast

On white

8.33
#274E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#274E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E86
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E86#FFFFFF#000000##FFFFFF
##274E861.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274e86;
/* rgb */ color: rgb(39, 78, 134);
/* oklch */ color: oklch(42.5% 0.103 257.7);
Tailwind
colors: {
  custom: {
    50: '#6d7fa9',
    500: '#274e86',
    950: '#000000',
  },
}
SCSS
$custom: #274e86;
$custom-light: #6d7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#274e86",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 134
  },
  "hsl": {
    "h": 215.368,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42525,
    "c": 0.1034,
    "h": 257.7
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#274E86
secondary
#B48D55
accent
#A14ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A10
muted
#7A7C7F

Preview Lab

Preview with #274E86

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

Preview Lab → · Contrast checker → · Palette generator →

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