#274E89#274E89

#274E89 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.7% C 0.108 H 258.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#274E89
RGBrgb(39, 78, 137)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 54%)
CMYKcmyk(71.5%, 43.1%, 0%, 46.3%)
CIE-LABlab(33.32, 7.22, -36.98)
CIE-LCHlch(33.32, 37.68, 281.05°)
OKLaboklab(42.73% -0.0214 -0.1056)
OKLCHoklch(42.73% 0.108 258.5)
XYZxyz(8.0748, 7.6854, 24.7199)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E89 #896227
analogous
#277F89 #274E89 #312789
triadic
#274E89 #89274E #4E8927
tetradic
#274E89 #89277F #896227 #278931
square
#274E89 #89277F #896227 #278931
split-complementary
#274E89 #893127 #7F8927
monochromatic
#0C182A #193359 #274E89 #3569B9 #5A89D0

Accessibility & contrast

On white

8.28
#274E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #274E89
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E89#FFFFFF#000000##FFFFFF
##274E891.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538B
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274e89;
/* rgb */ color: rgb(39, 78, 137);
/* oklch */ color: oklch(42.7% 0.108 258.5);
Tailwind
colors: {
  custom: {
    50: '#6e7fac',
    500: '#274e89',
    950: '#000000',
  },
}
SCSS
$custom: #274e89;
$custom-light: #6e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#274e89",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 137
  },
  "hsl": {
    "h": 216.122,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.10772,
    "h": 258.5
  },
  "luminance": 0.07686
}

Semantic roles & 50–950 ramp

primary
#274E89
secondary
#B59057
accent
#A349DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274E89

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

Preview Lab → · Contrast checker → · Palette generator →

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