#274C81#274C81

#274C81 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.7% C 0.099 H 257.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#274C81
RGBrgb(39, 76, 129)
HSLhsl(215, 54%, 33%)
HSVhsv(215, 70%, 51%)
CMYKcmyk(69.8%, 41.1%, 0%, 49.4%)
CIE-LABlab(32.22, 5.47, -33.79)
CIE-LCHlch(32.22, 34.23, 279.20°)
OKLaboklab(41.72% -0.0212 -0.0963)
OKLCHoklch(41.72% 0.099 257.6)
XYZxyz(7.3822, 7.1845, 21.7623)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C81 #815C27
analogous
#277981 #274C81 #2F2781
triadic
#274C81 #81274C #4C8127
tetradic
#274C81 #812779 #815C27 #27812F
square
#274C81 #812779 #815C27 #27812F
split-complementary
#274C81 #812F27 #798127
monochromatic
#0B1523 #193052 #274C81 #3568B0 #5687CC

Accessibility & contrast

On white

8.62
#274C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#274C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C81
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C81#FFFFFF#000000##FFFFFF
##274C811.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345083
Deuteranopia (green-blind)
#264880
Tritanopia (blue-blind)
#005860
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274c81;
/* rgb */ color: rgb(39, 76, 129);
/* oklch */ color: oklch(41.7% 0.099 257.6);
Tailwind
colors: {
  custom: {
    50: '#6c7da6',
    500: '#274c81',
    950: '#000000',
  },
}
SCSS
$custom: #274c81;
$custom-light: #6c7da6;
$custom-dark: #000000;
JSON
{
  "hex": "#274c81",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 129
  },
  "hsl": {
    "h": 215.333,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.09856,
    "h": 257.6
  },
  "luminance": 0.07185
}

Semantic roles & 50–950 ramp

primary
#274C81
secondary
#B18A53
accent
#A14BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274C81

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

Preview Lab → · Contrast checker → · Palette generator →

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