#274C88#274C88

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

Color values

HEX#274C88
RGBrgb(39, 76, 136)
HSLhsl(217, 55%, 34%)
HSVhsv(217, 71%, 53%)
CMYKcmyk(71.3%, 44.1%, 0%, 46.7%)
CIE-LABlab(32.65, 8.17, -37.43)
CIE-LCHlch(32.65, 38.31, 282.31°)
OKLaboklab(42.19% -0.0196 -0.1069)
OKLCHoklch(42.19% 0.109 259.6)
XYZxyz(7.8635, 7.3770, 24.2973)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C88 #886327
analogous
#277D88 #274C88 #322788
triadic
#274C88 #88274C #4C8827
tetradic
#274C88 #88277D #886327 #278832
square
#274C88 #88277D #886327 #278832
split-complementary
#274C88 #883227 #7D8827
monochromatic
#0C1729 #193158 #274C88 #3567B8 #5A87D0

Accessibility & contrast

On white

8.48
#274C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274C88
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C88#FFFFFF#000000##FFFFFF
##274C881.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528A
Deuteranopia (green-blind)
#1F4987
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274c88;
/* rgb */ color: rgb(39, 76, 136);
/* oklch */ color: oklch(42.2% 0.109 259.6);
Tailwind
colors: {
  custom: {
    50: '#6d7dab',
    500: '#274c88',
    950: '#000000',
  },
}
SCSS
$custom: #274c88;
$custom-light: #6d7dab;
$custom-dark: #000000;
JSON
{
  "hex": "#274c88",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 136
  },
  "hsl": {
    "h": 217.113,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42188,
    "c": 0.10872,
    "h": 259.6
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#274C88
secondary
#B59156
accent
#A649DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C88

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

Preview Lab → · Contrast checker → · Palette generator →

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