#274E81#274E81

#274E81 is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.2% C 0.096 H 256.0°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#274E81
RGBrgb(39, 78, 129)
HSLhsl(214, 54%, 33%)
HSVhsv(214, 70%, 51%)
CMYKcmyk(69.8%, 39.5%, 0%, 49.4%)
CIE-LABlab(32.84, 4.15, -32.81)
CIE-LCHlch(32.84, 33.07, 277.20°)
OKLaboklab(42.2% -0.0233 -0.0933)
OKLCHoklch(42.2% 0.096 256)
XYZxyz(7.5221, 7.4643, 21.8090)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E81 #815A27
analogous
#277B81 #274E81 #2D2781
triadic
#274E81 #81274E #4E8127
tetradic
#274E81 #81277B #815A27 #27812D
square
#274E81 #81277B #815A27 #27812D
split-complementary
#274E81 #812D27 #7B8127
monochromatic
#0B1523 #193252 #274E81 #356AB0 #5689CC

Accessibility & contrast

On white

8.42
#274E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#274E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E81
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E81#FFFFFF#000000##FFFFFF
##274E811.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#2A4980
Tritanopia (blue-blind)
#005A61
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274e81;
/* rgb */ color: rgb(39, 78, 129);
/* oklch */ color: oklch(42.2% 0.096 256.0);
Tailwind
colors: {
  custom: {
    50: '#6c7fa6',
    500: '#274e81',
    950: '#000000',
  },
}
SCSS
$custom: #274e81;
$custom-light: #6c7fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#274e81",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 129
  },
  "hsl": {
    "h": 214,
    "s": 53.571,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.09621,
    "h": 256
  },
  "luminance": 0.07465
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274E81

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

Preview Lab → · Contrast checker → · Palette generator →

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