#274D8D#274D8D

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

Color values

HEX#274D8D
RGBrgb(39, 77, 141)
HSLhsl(218, 57%, 35%)
HSVhsv(218, 72%, 55%)
CMYKcmyk(72.3%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.27, 9.44, -39.51)
CIE-LCHlch(33.27, 40.62, 283.44°)
OKLaboklab(42.77% -0.0196 -0.113)
OKLCHoklch(42.77% 0.115 260.2)
XYZxyz(8.2966, 7.6613, 26.2357)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D8D #8D6727
analogous
#27808D #274D8D #34278D
triadic
#274D8D #8D274D #4D8D27
tetradic
#274D8D #8D2780 #8D6727 #278D34
square
#274D8D #8D2780 #8D6727 #278D34
split-complementary
#274D8D #8D3427 #808D27
monochromatic
#0C192D #1A335D #274D8D #3467BD #5C88D2

Accessibility & contrast

On white

8.29
#274D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D8D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D8D#FFFFFF#000000##FFFFFF
##274D8D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D538F
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274d8d;
/* rgb */ color: rgb(39, 77, 141);
/* oklch */ color: oklch(42.8% 0.115 260.2);
Tailwind
colors: {
  custom: {
    50: '#6e7eaf',
    500: '#274d8d',
    950: '#000000',
  },
}
SCSS
$custom: #274d8d;
$custom-light: #6e7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#274d8d",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 217.647,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.11471,
    "h": 260.2
  },
  "luminance": 0.07662
}

Semantic roles & 50–950 ramp

primary
#274D8D
secondary
#B79459
accent
#A748E0
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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