#274E7E#274E7E

#274E7E is a dark, moderate cyan. Relative luminance 0.074; OKLCH L 42.0% C 0.092 H 254.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#274E7E
RGBrgb(39, 78, 126)
HSLhsl(213, 53%, 32%)
HSVhsv(213, 69%, 49%)
CMYKcmyk(69%, 38.1%, 0%, 50.6%)
CIE-LABlab(32.67, 3.00, -31.23)
CIE-LCHlch(32.67, 31.37, 275.49°)
OKLaboklab(42.01% -0.0241 -0.0887)
OKLCHoklch(42.01% 0.092 254.8)
XYZxyz(7.3256, 7.3857, 20.7741)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E7E #7E5727
analogous
#277A7E #274E7E #2B277E
triadic
#274E7E #7E274E #4E7E27
tetradic
#274E7E #7E277A #7E5727 #277E2B
square
#274E7E #7E277A #7E5727 #277E2B
split-complementary
#274E7E #7E2B27 #7A7E27
monochromatic
#0A1421 #19314F #274E7E #356BAD #558ACA

Accessibility & contrast

On white

8.48
#274E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E7E
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E7E#FFFFFF#000000##FFFFFF
##274E7E1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395180
Deuteranopia (green-blind)
#2C497D
Tritanopia (blue-blind)
#005960
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274e7e;
/* rgb */ color: rgb(39, 78, 126);
/* oklch */ color: oklch(42.0% 0.092 254.8);
Tailwind
colors: {
  custom: {
    50: '#6b7fa3',
    500: '#274e7e',
    950: '#000000',
  },
}
SCSS
$custom: #274e7e;
$custom-light: #6b7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#274e7e",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 126
  },
  "hsl": {
    "h": 213.103,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42009,
    "c": 0.09192,
    "h": 254.8
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#274E7E
secondary
#AF8552
accent
#9B4CDC
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #274E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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