#274378#274378

#274378 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.096 H 261.9°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#274378
RGBrgb(39, 67, 120)
HSLhsl(219, 51%, 31%)
HSVhsv(219, 68%, 47%)
CMYKcmyk(67.5%, 44.2%, 0%, 52.9%)
CIE-LABlab(28.91, 8.07, -33.46)
CIE-LCHlch(28.91, 34.42, 283.56°)
OKLaboklab(38.97% -0.0135 -0.0954)
OKLCHoklch(38.97% 0.096 261.9)
XYZxyz(6.2328, 5.8011, 18.5569)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274378 #785C27
analogous
#276B78 #274378 #332778
triadic
#274378 #782743 #437827
tetradic
#274378 #78276B #785C27 #277833
square
#274378 #78276B #785C27 #277833
split-complementary
#274378 #783327 #6B7827
monochromatic
#090F1C #18294A #274378 #365DA6 #527BC7

Accessibility & contrast

On white

9.72
#274378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274378
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274378#FFFFFF#000000##FFFFFF
##2743781.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #274378;
/* rgb */ color: rgb(39, 67, 120);
/* oklch */ color: oklch(39.0% 0.096 261.9);
Tailwind
colors: {
  custom: {
    50: '#6a769f',
    500: '#274378',
    950: '#000000',
  },
}
SCSS
$custom: #274378;
$custom-light: #6a769f;
$custom-dark: #000000;
JSON
{
  "hex": "#274378",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 120
  },
  "hsl": {
    "h": 219.259,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.09638,
    "h": 261.9
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#274378
secondary
#AA8B51
accent
#AA4DDA
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274378

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

Preview Lab → · Contrast checker → · Palette generator →

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