#274B79#274B79

#274B79 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 41.0% C 0.088 H 255.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#274B79
RGBrgb(39, 75, 121)
HSLhsl(214, 51%, 31%)
HSVhsv(214, 68%, 47%)
CMYKcmyk(67.8%, 38%, 0%, 52.5%)
CIE-LABlab(31.45, 3.08, -30.05)
CIE-LCHlch(31.45, 30.21, 275.85°)
OKLaboklab(40.96% -0.0221 -0.0853)
OKLCHoklch(40.96% 0.088 255.5)
XYZxyz(6.8027, 6.8433, 19.0478)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B79 #795527
analogous
#277479 #274B79 #2C2779
triadic
#274B79 #79274B #4B7927
tetradic
#274B79 #792774 #795527 #27792C
square
#274B79 #792774 #795527 #27792C
split-complementary
#274B79 #792C27 #747927
monochromatic
#09121C #182E4B #274B79 #3668A7 #5386C8

Accessibility & contrast

On white

8.87
#274B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#274B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B79
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B79#FFFFFF#000000##FFFFFF
##274B791.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7B
Deuteranopia (green-blind)
#2B4678
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274b79;
/* rgb */ color: rgb(39, 75, 121);
/* oklch */ color: oklch(41.0% 0.088 255.5);
Tailwind
colors: {
  custom: {
    50: '#6a7ca0',
    500: '#274b79',
    950: '#000000',
  },
}
SCSS
$custom: #274b79;
$custom-light: #6a7ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#274b79",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 121
  },
  "hsl": {
    "h": 213.659,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40963,
    "c": 0.08814,
    "h": 255.5
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#274B79
secondary
#AB8351
accent
#9D4DDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #274B79

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

Preview Lab → · Contrast checker → · Palette generator →

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