#274891#274891

#274891 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.127 H 263.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#274891
RGBrgb(39, 72, 145)
HSLhsl(221, 58%, 36%)
HSVhsv(221, 73%, 57%)
CMYKcmyk(73.1%, 50.3%, 0%, 43.1%)
CIE-LABlab(32.05, 14.37, -43.90)
CIE-LCHlch(32.05, 46.19, 288.12°)
OKLaboklab(41.92% -0.0142 -0.126)
OKLCHoklch(41.92% 0.127 263.6)
XYZxyz(8.2631, 7.1095, 27.7194)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274891 #917027
analogous
#277D91 #274891 #3B2791
triadic
#274891 #912748 #489127
tetradic
#274891 #91277D #917027 #27913B
square
#274891 #91277D #917027 #27913B
split-complementary
#274891 #913B27 #7D9127
monochromatic
#0D1831 #1A3061 #274891 #3460C1 #5F83D4

Accessibility & contrast

On white

8.67
#274891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#274891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274891
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274891#FFFFFF#000000##FFFFFF
##2748911.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5194
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#005965
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274891;
/* rgb */ color: rgb(39, 72, 145);
/* oklch */ color: oklch(41.9% 0.127 263.6);
Tailwind
colors: {
  custom: {
    50: '#707ab2',
    500: '#274891',
    950: '#000000',
  },
}
SCSS
$custom: #274891;
$custom-light: #707ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#274891",
  "rgb": {
    "r": 39,
    "g": 72,
    "b": 145
  },
  "hsl": {
    "h": 221.321,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41921,
    "c": 0.12684,
    "h": 263.6
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#274891
secondary
#B99C5B
accent
#B147E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #274891

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

Preview Lab → · Contrast checker → · Palette generator →

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