#274E7D#274E7D

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

Color values

HEX#274E7D
RGBrgb(39, 78, 125)
HSLhsl(213, 52%, 32%)
HSVhsv(213, 69%, 49%)
CMYKcmyk(68.8%, 37.6%, 0%, 51%)
CIE-LABlab(32.61, 2.62, -30.69)
CIE-LCHlch(32.61, 30.81, 274.88°)
OKLaboklab(41.95% -0.0244 -0.0872)
OKLCHoklch(41.95% 0.091 254.4)
XYZxyz(7.2614, 7.3601, 20.4360)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E7D #7D5627
analogous
#27797D #274E7D #2B277D
triadic
#274E7D #7D274E #4E7D27
tetradic
#274E7D #7D2779 #7D5627 #277D2B
square
#274E7D #7D2779 #7D5627 #277D2B
split-complementary
#274E7D #7D2B27 #797D27
monochromatic
#0A1420 #18314E #274E7D #366BAC #558ACA

Accessibility & contrast

On white

8.49
#274E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#274E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E7D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E7D#FFFFFF#000000##FFFFFF
##274E7D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39517F
Deuteranopia (green-blind)
#2D497C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274e7d;
/* rgb */ color: rgb(39, 78, 125);
/* oklch */ color: oklch(41.9% 0.090 254.4);
Tailwind
colors: {
  custom: {
    50: '#6b7fa3',
    500: '#274e7d',
    950: '#000000',
  },
}
SCSS
$custom: #274e7d;
$custom-light: #6b7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#274e7d",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 212.791,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41946,
    "c": 0.0905,
    "h": 254.4
  },
  "luminance": 0.07361
}

Semantic roles & 50–950 ramp

primary
#274E7D
secondary
#AF8451
accent
#9B4CDC
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #274E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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