#274A7E#274A7E

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

Color values

HEX#274A7E
RGBrgb(39, 74, 126)
HSLhsl(216, 53%, 32%)
HSVhsv(216, 69%, 49%)
CMYKcmyk(69%, 41.3%, 0%, 50.6%)
CIE-LABlab(31.43, 5.65, -33.20)
CIE-LCHlch(31.43, 33.67, 279.66°)
OKLaboklab(41.04% -0.0198 -0.0945)
OKLCHoklch(41.04% 0.097 258.2)
XYZxyz(7.0500, 6.8346, 20.6823)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A7E #7E5B27
analogous
#27767E #274A7E #30277E
triadic
#274A7E #7E274A #4A7E27
tetradic
#274A7E #7E2776 #7E5B27 #277E30
square
#274A7E #7E2776 #7E5B27 #277E30
split-complementary
#274A7E #7E3027 #767E27
monochromatic
#0A1321 #192F4F #274A7E #3565AD #5584CA

Accessibility & contrast

On white

8.87
#274A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#274A7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A7E
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A7E#FFFFFF#000000##FFFFFF
##274A7E1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324E80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274a7e;
/* rgb */ color: rgb(39, 74, 126);
/* oklch */ color: oklch(41.0% 0.097 258.2);
Tailwind
colors: {
  custom: {
    50: '#6b7ca4',
    500: '#274a7e',
    950: '#000000',
  },
}
SCSS
$custom: #274a7e;
$custom-light: #6b7ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#274a7e",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 215.862,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41042,
    "c": 0.09658,
    "h": 258.2
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#274A7E
secondary
#AF8A52
accent
#A24CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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