#274A82#274A82

#274A82 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.3% C 0.102 H 259.4°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#274A82
RGBrgb(39, 74, 130)
HSLhsl(217, 54%, 33%)
HSVhsv(217, 70%, 51%)
CMYKcmyk(70%, 43.1%, 0%, 49%)
CIE-LABlab(31.67, 7.19, -35.29)
CIE-LCHlch(31.67, 36.02, 281.52°)
OKLaboklab(41.31% -0.0188 -0.1007)
OKLCHoklch(41.31% 0.102 259.4)
XYZxyz(7.3133, 6.9399, 22.0689)
Luminance0.0694 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A82 #825F27
analogous
#277782 #274A82 #312782
triadic
#274A82 #82274A #4A8227
tetradic
#274A82 #822777 #825F27 #278231
square
#274A82 #822777 #825F27 #278231
split-complementary
#274A82 #823127 #778227
monochromatic
#0B1424 #192F53 #274A82 #3565B1 #5784CD

Accessibility & contrast

On white

8.79
#274A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#274A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A82
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A82#FFFFFF#000000##FFFFFF
##274A821.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304F84
Deuteranopia (green-blind)
#214781
Tritanopia (blue-blind)
#00575F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274a82;
/* rgb */ color: rgb(39, 74, 130);
/* oklch */ color: oklch(41.3% 0.102 259.4);
Tailwind
colors: {
  custom: {
    50: '#6c7ca7',
    500: '#274a82',
    950: '#000000',
  },
}
SCSS
$custom: #274a82;
$custom-light: #6c7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#274a82",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 130
  },
  "hsl": {
    "h": 216.923,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41309,
    "c": 0.10244,
    "h": 259.4
  },
  "luminance": 0.06941
}

Semantic roles & 50–950 ramp

primary
#274A82
secondary
#B18D53
accent
#A54BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274A82

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

Preview Lab → · Contrast checker → · Palette generator →

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