#274D8A#274D8A

#274D8A is a dark, moderate blue. Relative luminance 0.076; OKLCH L 42.6% C 0.110 H 259.5°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#274D8A
RGBrgb(39, 77, 138)
HSLhsl(217, 56%, 35%)
HSVhsv(217, 72%, 54%)
CMYKcmyk(71.7%, 44.2%, 0%, 45.9%)
CIE-LABlab(33.08, 8.28, -37.98)
CIE-LCHlch(33.08, 38.87, 282.29°)
OKLaboklab(42.56% -0.0202 -0.1085)
OKLCHoklch(42.56% 0.11 259.5)
XYZxyz(8.0764, 7.5732, 25.0760)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D8A #8A6427
analogous
#277E8A #274D8A #33278A
triadic
#274D8A #8A274D #4D8A27
tetradic
#274D8A #8A277E #8A6427 #278A33
square
#274D8A #8A277E #8A6427 #278A33
split-complementary
#274D8A #8A3327 #7E8A27
monochromatic
#0C182B #1A325A #274D8A #3468BA #5B88D1

Accessibility & contrast

On white

8.35
#274D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#274D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D8A
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D8A#FFFFFF#000000##FFFFFF
##274D8A1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538C
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274d8a;
/* rgb */ color: rgb(39, 77, 138);
/* oklch */ color: oklch(42.6% 0.110 259.5);
Tailwind
colors: {
  custom: {
    50: '#6e7eac',
    500: '#274d8a',
    950: '#000000',
  },
}
SCSS
$custom: #274d8a;
$custom-light: #6e7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#274d8a",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 216.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42559,
    "c": 0.11038,
    "h": 259.5
  },
  "luminance": 0.07574
}

Semantic roles & 50–950 ramp

primary
#274D8A
secondary
#B69157
accent
#A549DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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