#274A79#274A79

#274A79 is a dark, moderate cyan. Relative luminance 0.067; OKLCH L 40.7% C 0.089 H 256.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#274A79
RGBrgb(39, 74, 121)
HSLhsl(214, 51%, 31%)
HSVhsv(214, 68%, 47%)
CMYKcmyk(67.8%, 38.8%, 0%, 52.5%)
CIE-LABlab(31.13, 3.74, -30.55)
CIE-LCHlch(31.13, 30.77, 276.99°)
OKLaboklab(40.72% -0.021 -0.0868)
OKLCHoklch(40.72% 0.089 256.4)
XYZxyz(6.7354, 6.7087, 19.0254)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A79 #795627
analogous
#277379 #274A79 #2D2779
triadic
#274A79 #79274A #4A7927
tetradic
#274A79 #792773 #795627 #27792D
square
#274A79 #792773 #795627 #27792D
split-complementary
#274A79 #792D27 #737927
monochromatic
#09111C #182E4B #274A79 #3666A7 #5385C8

Accessibility & contrast

On white

8.97
#274A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#274A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A79
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A79#FFFFFF#000000##FFFFFF
##274A791.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#00555B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #274a79;
/* rgb */ color: rgb(39, 74, 121);
/* oklch */ color: oklch(40.7% 0.089 256.4);
Tailwind
colors: {
  custom: {
    50: '#6a7ca0',
    500: '#274a79',
    950: '#000000',
  },
}
SCSS
$custom: #274a79;
$custom-light: #6a7ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#274a79",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 214.39,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40719,
    "c": 0.08929,
    "h": 256.4
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#274A79
secondary
#AB8551
accent
#9E4DDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #274A79

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

Preview Lab → · Contrast checker → · Palette generator →

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