#274372#274372

#274372 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.6% C 0.087 H 260.2°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#274372
RGBrgb(39, 67, 114)
HSLhsl(218, 49%, 30%)
HSVhsv(218, 66%, 45%)
CMYKcmyk(65.8%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.54, 5.78, -30.27)
CIE-LCHlch(28.54, 30.81, 280.80°)
OKLaboklab(38.57% -0.0149 -0.086)
OKLCHoklch(38.57% 0.087 260.2)
XYZxyz(5.8800, 5.6600, 16.6989)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274372 #725627
analogous
#276972 #274372 #302772
triadic
#274372 #722743 #437227
tetradic
#274372 #722769 #725627 #277230
square
#274372 #722769 #725627 #277230
split-complementary
#274372 #723027 #697227
monochromatic
#080D17 #172844 #274372 #375EA0 #507BC3

Accessibility & contrast

On white

9.85
#274372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#274372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274372
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274372#FFFFFF#000000##FFFFFF
##2743721.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4774
Deuteranopia (green-blind)
#244071
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #274372;
/* rgb */ color: rgb(39, 67, 114);
/* oklch */ color: oklch(38.6% 0.087 260.2);
Tailwind
colors: {
  custom: {
    50: '#69769b',
    500: '#274372',
    950: '#000000',
  },
}
SCSS
$custom: #274372;
$custom-light: #69769b;
$custom-dark: #000000;
JSON
{
  "hex": "#274372",
  "rgb": {
    "r": 39,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 217.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.38567,
    "c": 0.08733,
    "h": 260.2
  },
  "luminance": 0.05661
}

Semantic roles & 50–950 ramp

primary
#274372
secondary
#A48550
accent
#A54FD9
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #274372

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

Preview Lab → · Contrast checker → · Palette generator →

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