#274377#274377

#274377 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 38.9% C 0.095 H 261.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#274377
RGBrgb(39, 67, 119)
HSLhsl(219, 51%, 31%)
HSVhsv(219, 67%, 47%)
CMYKcmyk(67.2%, 43.7%, 0%, 53.3%)
CIE-LABlab(28.84, 7.69, -32.93)
CIE-LCHlch(28.84, 33.82, 283.14°)
OKLaboklab(38.9% -0.0137 -0.0939)
OKLCHoklch(38.9% 0.095 261.7)
XYZxyz(6.1725, 5.7770, 18.2390)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274377 #775B27
analogous
#276B77 #274377 #332777
triadic
#274377 #772743 #437727
tetradic
#274377 #77276B #775B27 #277733
square
#274377 #77276B #775B27 #277733
split-complementary
#274377 #773327 #6B7727
monochromatic
#090F1B #182949 #274377 #365DA5 #527BC6

Accessibility & contrast

On white

9.74
#274377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#274377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274377
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274377#FFFFFF#000000##FFFFFF
##2743771.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4879
Deuteranopia (green-blind)
#1F4176
Tritanopia (blue-blind)
#004F57
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #274377;
/* rgb */ color: rgb(39, 67, 119);
/* oklch */ color: oklch(38.9% 0.095 261.7);
Tailwind
colors: {
  custom: {
    50: '#6a769e',
    500: '#274377',
    950: '#000000',
  },
}
SCSS
$custom: #274377;
$custom-light: #6a769e;
$custom-dark: #000000;
JSON
{
  "hex": "#274377",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 119
  },
  "hsl": {
    "h": 219,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38902,
    "c": 0.09488,
    "h": 261.7
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#274377
secondary
#A98A51
accent
#A94EDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274377

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

Preview Lab → · Contrast checker → · Palette generator →

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