#274F79#274F79

#274F79 is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 41.9% C 0.084 H 251.5°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#274F79
RGBrgb(39, 79, 121)
HSLhsl(211, 51%, 31%)
HSVhsv(211, 68%, 47%)
CMYKcmyk(67.8%, 34.7%, 0%, 52.5%)
CIE-LABlab(32.71, 0.46, -28.06)
CIE-LCHlch(32.71, 28.06, 270.94°)
OKLaboklab(41.95% -0.0266 -0.0795)
OKLCHoklch(41.95% 0.084 251.5)
XYZxyz(7.0826, 7.4031, 19.1411)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F79 #795127
analogous
#277879 #274F79 #282779
triadic
#274F79 #79274F #4F7927
tetradic
#274F79 #792778 #795127 #277928
square
#274F79 #792778 #795127 #277928
split-complementary
#274F79 #792827 #787927
monochromatic
#09131C #18314B #274F79 #366DA7 #538CC8

Accessibility & contrast

On white

8.47
#274F79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#274F79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F79
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F79#FFFFFF#000000##FFFFFF
##274F791.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517B
Deuteranopia (green-blind)
#314978
Tritanopia (blue-blind)
#00595E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274f79;
/* rgb */ color: rgb(39, 79, 121);
/* oklch */ color: oklch(41.9% 0.084 251.5);
Tailwind
colors: {
  custom: {
    50: '#6a80a0',
    500: '#274f79',
    950: '#000000',
  },
}
SCSS
$custom: #274f79;
$custom-light: #6a80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#274f79",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 121
  },
  "hsl": {
    "h": 210.732,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41948,
    "c": 0.0838,
    "h": 251.5
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#274F79
secondary
#AB7F51
accent
#964DDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #274F79

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

Preview Lab → · Contrast checker → · Palette generator →

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