#274882#274882

#274882 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.105 H 260.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#274882
RGBrgb(39, 72, 130)
HSLhsl(218, 54%, 33%)
HSVhsv(218, 70%, 51%)
CMYKcmyk(70%, 44.6%, 0%, 49%)
CIE-LABlab(31.06, 8.54, -36.27)
CIE-LCHlch(31.06, 37.26, 283.25°)
OKLaboklab(40.84% -0.0168 -0.1036)
OKLCHoklch(40.84% 0.105 260.8)
XYZxyz(7.1819, 6.6771, 22.0251)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274882 #826127
analogous
#277582 #274882 #342782
triadic
#274882 #822748 #488227
tetradic
#274882 #822775 #826127 #278234
square
#274882 #822775 #826127 #278234
split-complementary
#274882 #823427 #758227
monochromatic
#0B1424 #192E53 #274882 #3562B1 #5782CD

Accessibility & contrast

On white

8.99
#274882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#274882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274882
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274882#FFFFFF#000000##FFFFFF
##2748821.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C4E84
Deuteranopia (green-blind)
#1D4581
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274882;
/* rgb */ color: rgb(39, 72, 130);
/* oklch */ color: oklch(40.8% 0.105 260.8);
Tailwind
colors: {
  custom: {
    50: '#6c7aa7',
    500: '#274882',
    950: '#000000',
  },
}
SCSS
$custom: #274882;
$custom-light: #6c7aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#274882",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 218.242,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.10493,
    "h": 260.8
  },
  "luminance": 0.06678
}

Semantic roles & 50–950 ramp

primary
#274882
secondary
#B18F53
accent
#A84BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #274882

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

Preview Lab → · Contrast checker → · Palette generator →

#274882 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva