#274F7B#274F7B

#274F7B is a dark, moderate cyan. Relative luminance 0.075; OKLCH L 42.1% C 0.087 H 252.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#274F7B
RGBrgb(39, 79, 123)
HSLhsl(211, 52%, 32%)
HSVhsv(211, 68%, 48%)
CMYKcmyk(68.3%, 35.8%, 0%, 51.8%)
CIE-LABlab(32.82, 1.21, -29.13)
CIE-LCHlch(32.82, 29.16, 272.38°)
OKLaboklab(42.07% -0.026 -0.0826)
OKLCHoklch(42.07% 0.087 252.5)
XYZxyz(7.2065, 7.4526, 19.7938)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F7B #7B5327
analogous
#27797B #274F7B #29277B
triadic
#274F7B #7B274F #4F7B27
tetradic
#274F7B #7B2779 #7B5327 #277B29
square
#274F7B #7B2779 #7B5327 #277B29
split-complementary
#274F7B #7B2927 #797B27
monochromatic
#0A131E #18314D #274F7B #366DA9 #548BC9

Accessibility & contrast

On white

8.43
#274F7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274F7B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F7B#FFFFFF#000000##FFFFFF
##274F7B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C527D
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274f7b;
/* rgb */ color: rgb(39, 79, 123);
/* oklch */ color: oklch(42.1% 0.087 252.5);
Tailwind
colors: {
  custom: {
    50: '#6b80a1',
    500: '#274f7b',
    950: '#000000',
  },
}
SCSS
$custom: #274f7b;
$custom-light: #6b80a1;
$custom-dark: #000000;
JSON
{
  "hex": "#274f7b",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 211.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42069,
    "c": 0.08659,
    "h": 252.5
  },
  "luminance": 0.07453
}

Semantic roles & 50–950 ramp

primary
#274F7B
secondary
#AD8151
accent
#974CDB
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0F
muted
#7A7C7E

Preview Lab

Preview with #274F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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