#274F89#274F89

#274F89 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.0% C 0.107 H 257.9°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#274F89
RGBrgb(39, 79, 137)
HSLhsl(216, 56%, 35%)
HSVhsv(216, 72%, 54%)
CMYKcmyk(71.5%, 42.3%, 0%, 46.3%)
CIE-LABlab(33.62, 6.56, -36.49)
CIE-LCHlch(33.62, 37.08, 280.19°)
OKLaboklab(42.96% -0.0224 -0.1041)
OKLCHoklch(42.96% 0.107 257.9)
XYZxyz(8.1464, 7.8286, 24.7438)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F89 #896127
analogous
#278089 #274F89 #302789
triadic
#274F89 #89274F #4F8927
tetradic
#274F89 #892780 #896127 #278930
square
#274F89 #892780 #896127 #278930
split-complementary
#274F89 #893027 #808927
monochromatic
#0C182A #193459 #274F89 #356AB9 #5A8AD0

Accessibility & contrast

On white

8.18
#274F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#274F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F89
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F89#FFFFFF#000000##FFFFFF
##274F891.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548B
Deuteranopia (green-blind)
#244B88
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274f89;
/* rgb */ color: rgb(39, 79, 137);
/* oklch */ color: oklch(43.0% 0.107 257.9);
Tailwind
colors: {
  custom: {
    50: '#6e7fac',
    500: '#274f89',
    950: '#000000',
  },
}
SCSS
$custom: #274f89;
$custom-light: #6e7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#274f89",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 137
  },
  "hsl": {
    "h": 215.51,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42961,
    "c": 0.10651,
    "h": 257.9
  },
  "luminance": 0.07829
}

Semantic roles & 50–950 ramp

primary
#274F89
secondary
#B58F57
accent
#A249DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F89

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

Preview Lab → · Contrast checker → · Palette generator →

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