#274D84#274D84

#274D84 is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.2% C 0.102 H 257.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#274D84
RGBrgb(39, 77, 132)
HSLhsl(215, 54%, 34%)
HSVhsv(215, 70%, 52%)
CMYKcmyk(70.5%, 41.7%, 0%, 48.2%)
CIE-LABlab(32.71, 5.96, -34.87)
CIE-LCHlch(32.71, 35.38, 279.70°)
OKLaboklab(42.15% -0.0215 -0.0994)
OKLCHoklch(42.15% 0.102 257.8)
XYZxyz(7.6539, 7.4042, 22.8511)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D84 #845E27
analogous
#277B84 #274D84 #2F2784
triadic
#274D84 #84274D #4D8427
tetradic
#274D84 #84277B #845E27 #27842F
square
#274D84 #84277B #845E27 #27842F
split-complementary
#274D84 #842F27 #7B8427
monochromatic
#0B1626 #193155 #274D84 #3569B3 #5888CE

Accessibility & contrast

On white

8.46
#274D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#274D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D84
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D84#FFFFFF#000000##FFFFFF
##274D841.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#254983
Tritanopia (blue-blind)
#005A62
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274d84;
/* rgb */ color: rgb(39, 77, 132);
/* oklch */ color: oklch(42.2% 0.102 257.8);
Tailwind
colors: {
  custom: {
    50: '#6d7ea8',
    500: '#274d84',
    950: '#000000',
  },
}
SCSS
$custom: #274d84;
$custom-light: #6d7ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#274d84",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 132
  },
  "hsl": {
    "h": 215.484,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42154,
    "c": 0.10171,
    "h": 257.8
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#274D84
secondary
#B28C54
accent
#A14ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #274D84

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

Preview Lab → · Contrast checker → · Palette generator →

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