#274A80#274A80

#274A80 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.2% C 0.100 H 258.8°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#274A80
RGBrgb(39, 74, 128)
HSLhsl(216, 53%, 33%)
HSVhsv(216, 70%, 50%)
CMYKcmyk(69.5%, 42.2%, 0%, 49.8%)
CIE-LABlab(31.55, 6.42, -34.25)
CIE-LCHlch(31.55, 34.84, 280.62°)
OKLaboklab(41.17% -0.0193 -0.0976)
OKLCHoklch(41.17% 0.1 258.8)
XYZxyz(7.1804, 6.8867, 21.3687)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A80 #805D27
analogous
#277780 #274A80 #302780
triadic
#274A80 #80274A #4A8027
tetradic
#274A80 #802777 #805D27 #278030
square
#274A80 #802777 #805D27 #278030
split-complementary
#274A80 #803027 #778027
monochromatic
#0A1422 #192F51 #274A80 #3565AF #5684CB

Accessibility & contrast

On white

8.83
#274A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#274A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A80
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A80#FFFFFF#000000##FFFFFF
##274A801.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F82
Deuteranopia (green-blind)
#23467F
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274a80;
/* rgb */ color: rgb(39, 74, 128);
/* oklch */ color: oklch(41.2% 0.100 258.8);
Tailwind
colors: {
  custom: {
    50: '#6c7ca5',
    500: '#274a80',
    950: '#000000',
  },
}
SCSS
$custom: #274a80;
$custom-light: #6c7ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#274a80",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 128
  },
  "hsl": {
    "h": 216.404,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41174,
    "c": 0.09951,
    "h": 258.8
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

primary
#274A80
secondary
#B08B53
accent
#A34BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#07090F
muted
#7A7B7F

Preview Lab

Preview with #274A80

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

Preview Lab → · Contrast checker → · Palette generator →

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