#274F84#274F84

#274F84 is a dark, moderate cyan. Relative luminance 0.077; OKLCH L 42.6% C 0.099 H 256.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#274F84
RGBrgb(39, 79, 132)
HSLhsl(214, 54%, 34%)
HSVhsv(214, 70%, 52%)
CMYKcmyk(70.5%, 40.2%, 0%, 48.2%)
CIE-LABlab(33.33, 4.63, -33.89)
CIE-LCHlch(33.33, 34.21, 277.79°)
OKLaboklab(42.63% -0.0236 -0.0965)
OKLCHoklch(42.63% 0.099 256.3)
XYZxyz(7.7960, 7.6884, 22.8985)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F84 #845C27
analogous
#277D84 #274F84 #2E2784
triadic
#274F84 #84274F #4F8427
tetradic
#274F84 #84277D #845C27 #27842E
square
#274F84 #84277D #845C27 #27842E
split-complementary
#274F84 #842E27 #7D8427
monochromatic
#0B1626 #193355 #274F84 #356BB3 #588ACE

Accessibility & contrast

On white

8.27
#274F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#274F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F84
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F84#FFFFFF#000000##FFFFFF
##274F841.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375386
Deuteranopia (green-blind)
#294A83
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274f84;
/* rgb */ color: rgb(39, 79, 132);
/* oklch */ color: oklch(42.6% 0.099 256.3);
Tailwind
colors: {
  custom: {
    50: '#6d7fa8',
    500: '#274f84',
    950: '#000000',
  },
}
SCSS
$custom: #274f84;
$custom-light: #6d7fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#274f84",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 132
  },
  "hsl": {
    "h": 214.194,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42633,
    "c": 0.09934,
    "h": 256.3
  },
  "luminance": 0.07689
}

Semantic roles & 50–950 ramp

primary
#274F84
secondary
#B28A54
accent
#9E4ADE
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #274F84

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

Preview Lab → · Contrast checker → · Palette generator →

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