#274887#274887

#274887 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.2% C 0.112 H 261.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#274887
RGBrgb(39, 72, 135)
HSLhsl(219, 55%, 34%)
HSVhsv(219, 71%, 53%)
CMYKcmyk(71.1%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.38, 10.47, -38.85)
CIE-LCHlch(31.38, 40.23, 285.09°)
OKLaboklab(41.19% -0.0158 -0.1112)
OKLCHoklch(41.19% 0.112 261.9)
XYZxyz(7.5257, 6.8146, 23.8357)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274887 #876627
analogous
#277887 #274887 #362787
triadic
#274887 #872748 #488727
tetradic
#274887 #872778 #876627 #278736
square
#274887 #872778 #876627 #278736
split-complementary
#274887 #873627 #788727
monochromatic
#0C1528 #192F58 #274887 #3561B6 #5982CF

Accessibility & contrast

On white

8.89
#274887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#274887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274887
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274887#FFFFFF#000000##FFFFFF
##2748871.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284F89
Deuteranopia (green-blind)
#164686
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274887;
/* rgb */ color: rgb(39, 72, 135);
/* oklch */ color: oklch(41.2% 0.112 261.9);
Tailwind
colors: {
  custom: {
    50: '#6d7aaa',
    500: '#274887',
    950: '#000000',
  },
}
SCSS
$custom: #274887;
$custom-light: #6d7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#274887",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 219.375,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.11228,
    "h": 261.9
  },
  "luminance": 0.06815
}

Semantic roles & 50–950 ramp

primary
#274887
secondary
#B49456
accent
#AB49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274887

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

Preview Lab → · Contrast checker → · Palette generator →

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