#274A7D#274A7D

#274A7D is a dark, moderate blue. Relative luminance 0.068; OKLCH L 41.0% C 0.095 H 257.9°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#274A7D
RGBrgb(39, 74, 125)
HSLhsl(216, 52%, 32%)
HSVhsv(216, 69%, 49%)
CMYKcmyk(68.8%, 40.8%, 0%, 51%)
CIE-LABlab(31.37, 5.27, -32.67)
CIE-LCHlch(31.37, 33.09, 279.16°)
OKLaboklab(40.98% -0.02 -0.093)
OKLCHoklch(40.98% 0.095 257.9)
XYZxyz(6.9858, 6.8089, 20.3441)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A7D #7D5A27
analogous
#27757D #274A7D #2F277D
triadic
#274A7D #7D274A #4A7D27
tetradic
#274A7D #7D2775 #7D5A27 #277D2F
square
#274A7D #7D2775 #7D5A27 #277D2F
split-complementary
#274A7D #7D2F27 #757D27
monochromatic
#0A1320 #182E4E #274A7D #3666AC #5584CA

Accessibility & contrast

On white

8.89
#274A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#274A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A7D
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A7D#FFFFFF#000000##FFFFFF
##274A7D1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334E7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274a7d;
/* rgb */ color: rgb(39, 74, 125);
/* oklch */ color: oklch(41.0% 0.095 257.9);
Tailwind
colors: {
  custom: {
    50: '#6b7ca3',
    500: '#274a7d',
    950: '#000000',
  },
}
SCSS
$custom: #274a7d;
$custom-light: #6b7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#274a7d",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 215.581,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.40976,
    "c": 0.09513,
    "h": 257.9
  },
  "luminance": 0.0681
}

Semantic roles & 50–950 ramp

primary
#274A7D
secondary
#AF8951
accent
#A14CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274A7D

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

Preview Lab → · Contrast checker → · Palette generator →

#274A7D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva