#274F7D#274F7D

#274F7D is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.089 H 253.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#274F7D
RGBrgb(39, 79, 125)
HSLhsl(212, 52%, 32%)
HSVhsv(212, 69%, 49%)
CMYKcmyk(68.8%, 36.8%, 0%, 51%)
CIE-LABlab(32.93, 1.97, -30.20)
CIE-LCHlch(32.93, 30.26, 273.73°)
OKLaboklab(42.19% -0.0255 -0.0857)
OKLCHoklch(42.19% 0.089 253.4)
XYZxyz(7.3330, 7.5032, 20.4599)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F7D #7D5527
analogous
#277A7D #274F7D #2A277D
triadic
#274F7D #7D274F #4F7D27
tetradic
#274F7D #7D277A #7D5527 #277D2A
square
#274F7D #7D277A #7D5527 #277D2A
split-complementary
#274F7D #7D2A27 #7A7D27
monochromatic
#0A1420 #18324E #274F7D #366CAC #558BCA

Accessibility & contrast

On white

8.40
#274F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#274F7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F7D
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F7D#FFFFFF#000000##FFFFFF
##274F7D1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#005A60
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274f7d;
/* rgb */ color: rgb(39, 79, 125);
/* oklch */ color: oklch(42.2% 0.089 253.4);
Tailwind
colors: {
  custom: {
    50: '#6b80a3',
    500: '#274f7d',
    950: '#000000',
  },
}
SCSS
$custom: #274f7d;
$custom-light: #6b80a3;
$custom-dark: #000000;
JSON
{
  "hex": "#274f7d",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 125
  },
  "hsl": {
    "h": 212.093,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42191,
    "c": 0.0894,
    "h": 253.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#274F7D
secondary
#AF8351
accent
#994CDC
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #274F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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