#274F82#274F82

#274F82 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.5% C 0.096 H 255.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#274F82
RGBrgb(39, 79, 130)
HSLhsl(214, 54%, 33%)
HSVhsv(214, 70%, 51%)
CMYKcmyk(70%, 39.2%, 0%, 49%)
CIE-LABlab(33.21, 3.87, -32.84)
CIE-LCHlch(33.21, 33.07, 276.72°)
OKLaboklab(42.5% -0.0241 -0.0934)
OKLCHoklch(42.5% 0.096 255.5)
XYZxyz(7.6605, 7.6342, 22.1846)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F82 #825A27
analogous
#277C82 #274F82 #2C2782
triadic
#274F82 #82274F #4F8227
tetradic
#274F82 #82277C #825A27 #27822C
square
#274F82 #82277C #825A27 #27822C
split-complementary
#274F82 #822C27 #7C8227
monochromatic
#0B1624 #193253 #274F82 #356CB1 #578BCD

Accessibility & contrast

On white

8.31
#274F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F82
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F82#FFFFFF#000000##FFFFFF
##274F821.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#2B4A81
Tritanopia (blue-blind)
#005B62
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274f82;
/* rgb */ color: rgb(39, 79, 130);
/* oklch */ color: oklch(42.5% 0.096 255.5);
Tailwind
colors: {
  custom: {
    50: '#6c7fa6',
    500: '#274f82',
    950: '#000000',
  },
}
SCSS
$custom: #274f82;
$custom-light: #6c7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#274f82",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 213.626,
    "s": 53.846,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42504,
    "c": 0.09649,
    "h": 255.5
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

primary
#274F82
secondary
#B18853
accent
#9D4BDD
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#070A0F
muted
#7A7C7F

Preview Lab

Preview with #274F82

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

Preview Lab → · Contrast checker → · Palette generator →

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