#274886#274886

#274886 is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.1% C 0.111 H 261.7°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#274886
RGBrgb(39, 72, 134)
HSLhsl(219, 55%, 34%)
HSVhsv(219, 71%, 53%)
CMYKcmyk(70.9%, 46.3%, 0%, 47.5%)
CIE-LABlab(31.32, 10.09, -38.33)
CIE-LCHlch(31.32, 39.64, 284.74°)
OKLaboklab(41.12% -0.016 -0.1096)
OKLCHoklch(41.12% 0.111 261.7)
XYZxyz(7.4556, 6.7865, 23.4666)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274886 #866527
analogous
#277886 #274886 #362786
triadic
#274886 #862748 #488627
tetradic
#274886 #862778 #866527 #278636
square
#274886 #862778 #866527 #278636
split-complementary
#274886 #863627 #788627
monochromatic
#0B1527 #192F57 #274886 #3561B5 #5982CF

Accessibility & contrast

On white

8.91
#274886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274886
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274886#FFFFFF#000000##FFFFFF
##2748861.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#184685
Tritanopia (blue-blind)
#005660
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274886;
/* rgb */ color: rgb(39, 72, 134);
/* oklch */ color: oklch(41.1% 0.111 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d7aaa',
    500: '#274886',
    950: '#000000',
  },
}
SCSS
$custom: #274886;
$custom-light: #6d7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#274886",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 134
  },
  "hsl": {
    "h": 219.158,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41117,
    "c": 0.11081,
    "h": 261.7
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#274886
secondary
#B49355
accent
#AB4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #274886

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

Preview Lab → · Contrast checker → · Palette generator →

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