#274C8F#274C8F

#274C8F is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.7% C 0.119 H 261.2°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#274C8F
RGBrgb(39, 76, 143)
HSLhsl(219, 57%, 36%)
HSVhsv(219, 73%, 56%)
CMYKcmyk(72.7%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.10, 10.89, -41.00)
CIE-LCHlch(33.10, 42.42, 284.87°)
OKLaboklab(42.68% -0.0182 -0.1174)
OKLCHoklch(42.68% 0.119 261.2)
XYZxyz(8.3773, 7.5825, 27.0033)
Luminance0.0758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8F #8F6A27
analogous
#27808F #274C8F #36278F
triadic
#274C8F #8F274C #4C8F27
tetradic
#274C8F #8F2780 #8F6A27 #278F36
square
#274C8F #8F2780 #8F6A27 #278F36
split-complementary
#274C8F #8F3627 #808F27
monochromatic
#0D192F #1A325F #274C8F #3466BF #5D87D3

Accessibility & contrast

On white

8.34
#274C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#274C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274C8F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274C8F#FFFFFF#000000##FFFFFF
##274C8F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#14498E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274c8f;
/* rgb */ color: rgb(39, 76, 143);
/* oklch */ color: oklch(42.7% 0.119 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7db0',
    500: '#274c8f',
    950: '#000000',
  },
}
SCSS
$custom: #274c8f;
$custom-light: #6f7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8f",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 218.654,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.11885,
    "h": 261.2
  },
  "luminance": 0.07583
}

Semantic roles & 50–950 ramp

primary
#274C8F
secondary
#B8975A
accent
#AA47E0
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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