#274C8A#274C8A

#274C8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.3% C 0.112 H 260.1°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#274C8A
RGBrgb(39, 76, 138)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 54%)
CMYKcmyk(71.7%, 44.9%, 0%, 45.9%)
CIE-LABlab(32.78, 8.94, -38.46)
CIE-LCHlch(32.78, 39.48, 283.09°)
OKLaboklab(42.33% -0.0192 -0.11)
OKLCHoklch(42.33% 0.112 260.1)
XYZxyz(8.0069, 7.4344, 25.0528)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8A #8A6527
analogous
#277D8A #274C8A #34278A
triadic
#274C8A #8A274C #4C8A27
tetradic
#274C8A #8A277D #8A6527 #278A34
square
#274C8A #8A277D #8A6527 #278A34
split-complementary
#274C8A #8A3427 #7D8A27
monochromatic
#0C172B #1A325A #274C8A #3466BA #5B87D1

Accessibility & contrast

On white

8.44
#274C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#274C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C8A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C8A#FFFFFF#000000##FFFFFF
##274C8A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528C
Deuteranopia (green-blind)
#1C4989
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274c8a;
/* rgb */ color: rgb(39, 76, 138);
/* oklch */ color: oklch(42.3% 0.112 260.1);
Tailwind
colors: {
  custom: {
    50: '#6e7dac',
    500: '#274c8a',
    950: '#000000',
  },
}
SCSS
$custom: #274c8a;
$custom-light: #6e7dac;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8a",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 217.576,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42325,
    "c": 0.11162,
    "h": 260.1
  },
  "luminance": 0.07435
}

Semantic roles & 50–950 ramp

primary
#274C8A
secondary
#B69257
accent
#A749DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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