#274A7C#274A7C

#274A7C is a dark, moderate blue. Relative luminance 0.068; OKLCH L 40.9% C 0.094 H 257.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#274A7C
RGBrgb(39, 74, 124)
HSLhsl(215, 52%, 32%)
HSVhsv(215, 69%, 49%)
CMYKcmyk(68.5%, 40.3%, 0%, 51.4%)
CIE-LABlab(31.31, 4.89, -32.14)
CIE-LCHlch(31.31, 32.51, 278.65°)
OKLaboklab(40.91% -0.0202 -0.0914)
OKLCHoklch(40.91% 0.094 257.5)
XYZxyz(6.9223, 6.7834, 20.0094)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A7C #7C5927
analogous
#27757C #274A7C #2F277C
triadic
#274A7C #7C274A #4A7C27
tetradic
#274A7C #7C2775 #7C5927 #277C2F
square
#274A7C #7C2775 #7C5927 #277C2F
split-complementary
#274A7C #7C2F27 #757C27
monochromatic
#0A121F #182E4D #274A7C #3666AB #5484C9

Accessibility & contrast

On white

8.91
#274A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274A7C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A7C#FFFFFF#000000##FFFFFF
##274A7C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344E7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274a7c;
/* rgb */ color: rgb(39, 74, 124);
/* oklch */ color: oklch(40.9% 0.094 257.5);
Tailwind
colors: {
  custom: {
    50: '#6b7ca2',
    500: '#274a7c',
    950: '#000000',
  },
}
SCSS
$custom: #274a7c;
$custom-light: #6b7ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#274a7c",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 215.294,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40911,
    "c": 0.09367,
    "h": 257.5
  },
  "luminance": 0.06784
}

Semantic roles & 50–950 ramp

primary
#274A7C
secondary
#AE8851
accent
#A14CDC
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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