#274C8D#274C8D

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

Color values

HEX#274C8D
RGBrgb(39, 76, 141)
HSLhsl(218, 57%, 35%)
HSVhsv(218, 72%, 55%)
CMYKcmyk(72.3%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.97, 10.11, -39.99)
CIE-LCHlch(32.97, 41.25, 284.19°)
OKLaboklab(42.54% -0.0186 -0.1145)
OKLCHoklch(42.54% 0.116 260.8)
XYZxyz(8.2271, 7.5224, 26.2125)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8D #8D6827
analogous
#277F8D #274C8D #35278D
triadic
#274C8D #8D274C #4C8D27
tetradic
#274C8D #8D277F #8D6827 #278D35
square
#274C8D #8D277F #8D6827 #278D35
split-complementary
#274C8D #8D3527 #7F8D27
monochromatic
#0C182D #1A325D #274C8D #3466BD #5C87D2

Accessibility & contrast

On white

8.38
#274C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C8D
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C8D#FFFFFF#000000##FFFFFF
##274C8D1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B538F
Deuteranopia (green-blind)
#18498C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274c8d;
/* rgb */ color: rgb(39, 76, 141);
/* oklch */ color: oklch(42.5% 0.116 260.8);
Tailwind
colors: {
  custom: {
    50: '#6e7daf',
    500: '#274c8d',
    950: '#000000',
  },
}
SCSS
$custom: #274c8d;
$custom-light: #6e7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8d",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 218.235,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42535,
    "c": 0.11596,
    "h": 260.8
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#274C8D
secondary
#B79559
accent
#A948E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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