#274E7B#274E7B

#274E7B is a dark, moderate cyan. Relative luminance 0.073; OKLCH L 41.8% C 0.088 H 253.5°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#274E7B
RGBrgb(39, 78, 123)
HSLhsl(212, 52%, 32%)
HSVhsv(212, 68%, 48%)
CMYKcmyk(68.3%, 36.6%, 0%, 51.8%)
CIE-LABlab(32.50, 1.86, -29.63)
CIE-LCHlch(32.50, 29.69, 273.60°)
OKLaboklab(41.82% -0.0249 -0.084)
OKLCHoklch(41.82% 0.088 253.5)
XYZxyz(7.1349, 7.3095, 19.7699)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E7B #7B5427
analogous
#27787B #274E7B #2A277B
triadic
#274E7B #7B274E #4E7B27
tetradic
#274E7B #7B2778 #7B5427 #277B2A
square
#274E7B #7B2778 #7B5427 #277B2A
split-complementary
#274E7B #7B2A27 #787B27
monochromatic
#0A131E #18314D #274E7B #366BA9 #548AC9

Accessibility & contrast

On white

8.53
#274E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#274E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E7B
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E7B#FFFFFF#000000##FFFFFF
##274E7B1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#2E497A
Tritanopia (blue-blind)
#00585E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274e7b;
/* rgb */ color: rgb(39, 78, 123);
/* oklch */ color: oklch(41.8% 0.088 253.5);
Tailwind
colors: {
  custom: {
    50: '#6b7fa1',
    500: '#274e7b',
    950: '#000000',
  },
}
SCSS
$custom: #274e7b;
$custom-light: #6b7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#274e7b",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 123
  },
  "hsl": {
    "h": 212.143,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41823,
    "c": 0.08766,
    "h": 253.5
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#274E7B
secondary
#AD8251
accent
#994CDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #274E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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