#274B78#274B78

#274B78 is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.9% C 0.087 H 255.0°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#274B78
RGBrgb(39, 75, 120)
HSLhsl(213, 51%, 31%)
HSVhsv(213, 68%, 47%)
CMYKcmyk(67.5%, 37.5%, 0%, 52.9%)
CIE-LABlab(31.39, 2.70, -29.51)
CIE-LCHlch(31.39, 29.64, 275.23°)
OKLaboklab(40.9% -0.0224 -0.0837)
OKLCHoklch(40.9% 0.087 255)
XYZxyz(6.7417, 6.8189, 18.7265)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274B78 #785427
analogous
#277378 #274B78 #2B2778
triadic
#274B78 #78274B #4B7827
tetradic
#274B78 #782773 #785427 #27782B
square
#274B78 #782773 #785427 #27782B
split-complementary
#274B78 #782B27 #737827
monochromatic
#09111C #182E4A #274B78 #3668A6 #5286C7

Accessibility & contrast

On white

8.88
#274B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#274B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274B78
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274B78#FFFFFF#000000##FFFFFF
##274B781.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374E7A
Deuteranopia (green-blind)
#2C4677
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #274b78;
/* rgb */ color: rgb(39, 75, 120);
/* oklch */ color: oklch(40.9% 0.087 255.0);
Tailwind
colors: {
  custom: {
    50: '#6a7c9f',
    500: '#274b78',
    950: '#000000',
  },
}
SCSS
$custom: #274b78;
$custom-light: #6a7c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#274b78",
  "rgb": {
    "r": 39,
    "g": 75,
    "b": 120
  },
  "hsl": {
    "h": 213.333,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.409,
    "c": 0.0867,
    "h": 255
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#274B78
secondary
#AA8251
accent
#9C4DDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #274B78

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

Preview Lab → · Contrast checker → · Palette generator →

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