#274C8C#274C8C

#274C8C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.5% C 0.115 H 260.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#274C8C
RGBrgb(39, 76, 140)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 55%)
CMYKcmyk(72.1%, 45.7%, 0%, 45.1%)
CIE-LABlab(32.90, 9.72, -39.48)
CIE-LCHlch(32.90, 40.66, 283.83°)
OKLaboklab(42.47% -0.0188 -0.113)
OKLCHoklch(42.47% 0.115 260.6)
XYZxyz(8.1531, 7.4928, 25.8224)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8C #8C6727
analogous
#277E8C #274C8C #34278C
triadic
#274C8C #8C274C #4C8C27
tetradic
#274C8C #8C277E #8C6727 #278C34
square
#274C8C #8C277E #8C6727 #278C34
split-complementary
#274C8C #8C3427 #7E8C27
monochromatic
#0C182C #1A325C #274C8C #3466BC #5C87D2

Accessibility & contrast

On white

8.40
#274C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#274C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C8C
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C8C#FFFFFF#000000##FFFFFF
##274C8C1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274c8c;
/* rgb */ color: rgb(39, 76, 140);
/* oklch */ color: oklch(42.5% 0.115 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7dae',
    500: '#274c8c',
    950: '#000000',
  },
}
SCSS
$custom: #274c8c;
$custom-light: #6e7dae;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8c",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 140
  },
  "hsl": {
    "h": 218.02,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42465,
    "c": 0.11451,
    "h": 260.6
  },
  "luminance": 0.07494
}

Semantic roles & 50–950 ramp

primary
#274C8C
secondary
#B79458
accent
#A848E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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