#274A8D#274A8D

#274A8D is a dark, moderate blue. Relative luminance 0.073; OKLCH L 42.1% C 0.118 H 261.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#274A8D
RGBrgb(39, 74, 141)
HSLhsl(219, 57%, 35%)
HSVhsv(219, 72%, 55%)
CMYKcmyk(72.3%, 47.5%, 0%, 44.7%)
CIE-LABlab(32.37, 11.46, -40.95)
CIE-LCHlch(32.37, 42.52, 285.63°)
OKLaboklab(42.08% -0.0167 -0.1173)
OKLCHoklch(42.08% 0.118 261.9)
XYZxyz(8.0915, 7.2511, 26.1673)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A8D #8D6A27
analogous
#277D8D #274A8D #37278D
triadic
#274A8D #8D274A #4A8D27
tetradic
#274A8D #8D277D #8D6A27 #278D37
square
#274A8D #8D277D #8D6A27 #278D37
split-complementary
#274A8D #8D3727 #7D8D27
monochromatic
#0C182D #1A315D #274A8D #3463BD #5C85D2

Accessibility & contrast

On white

8.57
#274A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#274A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A8D
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A8D#FFFFFF#000000##FFFFFF
##274A8D1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275190
Deuteranopia (green-blind)
#11488C
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274a8d;
/* rgb */ color: rgb(39, 74, 141);
/* oklch */ color: oklch(42.1% 0.118 261.9);
Tailwind
colors: {
  custom: {
    50: '#6f7caf',
    500: '#274a8d',
    950: '#000000',
  },
}
SCSS
$custom: #274a8d;
$custom-light: #6f7caf;
$custom-dark: #000000;
JSON
{
  "hex": "#274a8d",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 219.412,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42077,
    "c": 0.11849,
    "h": 261.9
  },
  "luminance": 0.07252
}

Semantic roles & 50–950 ramp

primary
#274A8D
secondary
#B79759
accent
#AC48E0
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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