#274A8A#274A8A

#274A8A is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.9% C 0.114 H 261.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#274A8A
RGBrgb(39, 74, 138)
HSLhsl(219, 56%, 35%)
HSVhsv(219, 72%, 54%)
CMYKcmyk(71.7%, 46.4%, 0%, 45.9%)
CIE-LABlab(32.18, 10.29, -39.42)
CIE-LCHlch(32.18, 40.74, 284.63°)
OKLaboklab(41.86% -0.0172 -0.1128)
OKLCHoklch(41.86% 0.114 261.3)
XYZxyz(7.8713, 7.1631, 25.0076)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A8A #8A6727
analogous
#277C8A #274A8A #36278A
triadic
#274A8A #8A274A #4A8A27
tetradic
#274A8A #8A277C #8A6727 #278A36
square
#274A8A #8A277C #8A6727 #278A36
split-complementary
#274A8A #8A3627 #7C8A27
monochromatic
#0C172B #1A305A #274A8A #3464BA #5B84D1

Accessibility & contrast

On white

8.63
#274A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#274A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A8A
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A8A#FFFFFF#000000##FFFFFF
##274A8A1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A518C
Deuteranopia (green-blind)
#174789
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #274a8a;
/* rgb */ color: rgb(39, 74, 138);
/* oklch */ color: oklch(41.9% 0.114 261.3);
Tailwind
colors: {
  custom: {
    50: '#6e7cac',
    500: '#274a8a',
    950: '#000000',
  },
}
SCSS
$custom: #274a8a;
$custom-light: #6e7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#274a8a",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 218.788,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41862,
    "c": 0.11413,
    "h": 261.3
  },
  "luminance": 0.07164
}

Semantic roles & 50–950 ramp

primary
#274A8A
secondary
#B69457
accent
#AA49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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