#274D8B#274D8B

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

Color values

HEX#274D8B
RGBrgb(39, 77, 139)
HSLhsl(217, 56%, 35%)
HSVhsv(217, 72%, 55%)
CMYKcmyk(71.9%, 44.6%, 0%, 45.5%)
CIE-LABlab(33.14, 8.66, -38.49)
CIE-LCHlch(33.14, 39.45, 282.68°)
OKLaboklab(42.63% -0.02 -0.11)
OKLCHoklch(42.63% 0.112 259.7)
XYZxyz(8.1491, 7.6023, 25.4590)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D8B #8B6527
analogous
#277F8B #274D8B #33278B
triadic
#274D8B #8B274D #4D8B27
tetradic
#274D8B #8B277F #8B6527 #278B33
square
#274D8B #8B277F #8B6527 #278B33
split-complementary
#274D8B #8B3327 #7F8B27
monochromatic
#0C182B #1A335B #274D8B #3467BB #5B88D1

Accessibility & contrast

On white

8.33
#274D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#274D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D8B
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D8B#FFFFFF#000000##FFFFFF
##274D8B1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#1D4A8A
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274d8b;
/* rgb */ color: rgb(39, 77, 139);
/* oklch */ color: oklch(42.6% 0.112 259.7);
Tailwind
colors: {
  custom: {
    50: '#6e7ead',
    500: '#274d8b',
    950: '#000000',
  },
}
SCSS
$custom: #274d8b;
$custom-light: #6e7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#274d8b",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 139
  },
  "hsl": {
    "h": 217.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42627,
    "c": 0.11183,
    "h": 259.7
  },
  "luminance": 0.07603
}

Semantic roles & 50–950 ramp

primary
#274D8B
secondary
#B69258
accent
#A648DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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