#274E8A#274E8A

#274E8A is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.109 H 258.8°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#274E8A
RGBrgb(39, 78, 138)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 54%)
CMYKcmyk(71.7%, 43.5%, 0%, 45.9%)
CIE-LABlab(33.38, 7.61, -37.49)
CIE-LCHlch(33.38, 38.26, 281.47°)
OKLaboklab(42.79% -0.0212 -0.1071)
OKLCHoklch(42.79% 0.109 258.8)
XYZxyz(8.1469, 7.7142, 25.0995)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E8A #8A6327
analogous
#277F8A #274E8A #32278A
triadic
#274E8A #8A274E #4E8A27
tetradic
#274E8A #8A277F #8A6327 #278A32
square
#274E8A #8A277F #8A6327 #278A32
split-complementary
#274E8A #8A3227 #7F8A27
monochromatic
#0C182B #1A335A #274E8A #3469BA #5B89D1

Accessibility & contrast

On white

8.26
#274E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#274E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E8A
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E8A#FFFFFF#000000##FFFFFF
##274E8A1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538C
Deuteranopia (green-blind)
#214A89
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274e8a;
/* rgb */ color: rgb(39, 78, 138);
/* oklch */ color: oklch(42.8% 0.109 258.8);
Tailwind
colors: {
  custom: {
    50: '#6e7fac',
    500: '#274e8a',
    950: '#000000',
  },
}
SCSS
$custom: #274e8a;
$custom-light: #6e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#274e8a",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 216.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42793,
    "c": 0.10915,
    "h": 258.8
  },
  "luminance": 0.07715
}

Semantic roles & 50–950 ramp

primary
#274E8A
secondary
#B69057
accent
#A449DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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