#274B84#274B84

#274B84 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.104 H 259.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#274B84
RGBrgb(39, 75, 132)
HSLhsl(217, 54%, 34%)
HSVhsv(217, 70%, 52%)
CMYKcmyk(70.5%, 43.2%, 0%, 48.2%)
CIE-LABlab(32.10, 7.29, -35.85)
CIE-LCHlch(32.10, 36.58, 281.50°)
OKLaboklab(41.68% -0.0194 -0.1023)
OKLCHoklch(41.68% 0.104 259.2)
XYZxyz(7.5161, 7.1287, 22.8052)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B84 #846027
analogous
#277984 #274B84 #312784
triadic
#274B84 #84274B #4B8427
tetradic
#274B84 #842779 #846027 #278431
square
#274B84 #842779 #846027 #278431
split-complementary
#274B84 #843127 #798427
monochromatic
#0B1526 #193055 #274B84 #3566B3 #5885CE

Accessibility & contrast

On white

8.66
#274B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#274B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B84
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B84#FFFFFF#000000##FFFFFF
##274B841.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#214883
Tritanopia (blue-blind)
#005861
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274b84;
/* rgb */ color: rgb(39, 75, 132);
/* oklch */ color: oklch(41.7% 0.104 259.2);
Tailwind
colors: {
  custom: {
    50: '#6d7ca8',
    500: '#274b84',
    950: '#000000',
  },
}
SCSS
$custom: #274b84;
$custom-light: #6d7ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#274b84",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 132
  },
  "hsl": {
    "h": 216.774,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.4168,
    "c": 0.10413,
    "h": 259.2
  },
  "luminance": 0.07129
}

Semantic roles & 50–950 ramp

primary
#274B84
secondary
#B28E54
accent
#A54ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #274B84

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

Preview Lab → · Contrast checker → · Palette generator →

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