#274A86#274A86

#274A86 is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.6% C 0.108 H 260.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#274A86
RGBrgb(39, 74, 134)
HSLhsl(218, 55%, 34%)
HSVhsv(218, 71%, 53%)
CMYKcmyk(70.9%, 44.8%, 0%, 47.5%)
CIE-LABlab(31.92, 8.74, -37.37)
CIE-LCHlch(31.92, 38.38, 283.16°)
OKLaboklab(41.58% -0.018 -0.1068)
OKLCHoklch(41.58% 0.108 260.4)
XYZxyz(7.5870, 7.0493, 23.5104)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A86 #866327
analogous
#277A86 #274A86 #342786
triadic
#274A86 #86274A #4A8627
tetradic
#274A86 #86277A #866327 #278634
square
#274A86 #86277A #866327 #278634
split-complementary
#274A86 #863427 #7A8627
monochromatic
#0B1627 #193057 #274A86 #3564B5 #5984CF

Accessibility & contrast

On white

8.71
#274A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#274A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A86
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A86#FFFFFF#000000##FFFFFF
##274A861.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#1D4785
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274a86;
/* rgb */ color: rgb(39, 74, 134);
/* oklch */ color: oklch(41.6% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#6d7ca9',
    500: '#274a86',
    950: '#000000',
  },
}
SCSS
$custom: #274a86;
$custom-light: #6d7ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#274a86",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 134
  },
  "hsl": {
    "h": 217.895,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41582,
    "c": 0.10828,
    "h": 260.4
  },
  "luminance": 0.0705
}

Semantic roles & 50–950 ramp

primary
#274A86
secondary
#B49155
accent
#A74ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274A86

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

Preview Lab → · Contrast checker → · Palette generator →

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