#274C8B#274C8B

#274C8B is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.113 H 260.3°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#274C8B
RGBrgb(39, 76, 139)
HSLhsl(218, 56%, 35%)
HSVhsv(218, 72%, 55%)
CMYKcmyk(71.9%, 45.3%, 0%, 45.5%)
CIE-LABlab(32.84, 9.33, -38.97)
CIE-LCHlch(32.84, 40.07, 283.47°)
OKLaboklab(42.4% -0.019 -0.1115)
OKLCHoklch(42.4% 0.113 260.3)
XYZxyz(8.0797, 7.4635, 25.4359)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274C8B #8B6627
analogous
#277E8B #274C8B #34278B
triadic
#274C8B #8B274C #4C8B27
tetradic
#274C8B #8B277E #8B6627 #278B34
square
#274C8B #8B277E #8B6627 #278B34
split-complementary
#274C8B #8B3427 #7E8B27
monochromatic
#0C182B #1A325B #274C8B #3466BB #5B87D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##274C8B#FFFFFF#000000##FFFFFF
##274C8B1.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)
#2D528D
Deuteranopia (green-blind)
#1B498A
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274c8b;
/* rgb */ color: rgb(39, 76, 139);
/* oklch */ color: oklch(42.4% 0.113 260.3);
Tailwind
colors: {
  custom: {
    50: '#6e7dad',
    500: '#274c8b',
    950: '#000000',
  },
}
SCSS
$custom: #274c8b;
$custom-light: #6e7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#274c8b",
  "rgb": {
    "r": 39,
    "g": 76,
    "b": 139
  },
  "hsl": {
    "h": 217.8,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42395,
    "c": 0.11307,
    "h": 260.3
  },
  "luminance": 0.07464
}

Semantic roles & 50–950 ramp

primary
#274C8B
secondary
#B69358
accent
#A848DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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