#274987#274987

#274987 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.111 H 261.3°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#274987
RGBrgb(39, 73, 135)
HSLhsl(219, 55%, 34%)
HSVhsv(219, 71%, 53%)
CMYKcmyk(71.1%, 45.9%, 0%, 47.1%)
CIE-LABlab(31.68, 9.80, -38.36)
CIE-LCHlch(31.68, 39.60, 284.33°)
OKLaboklab(41.42% -0.0168 -0.1097)
OKLCHoklch(41.42% 0.111 261.3)
XYZxyz(7.5909, 6.9449, 23.8574)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274987 #876527
analogous
#277987 #274987 #352787
triadic
#274987 #872749 #498727
tetradic
#274987 #872779 #876527 #278735
square
#274987 #872779 #876527 #278735
split-complementary
#274987 #873527 #798727
monochromatic
#0C1628 #192F58 #274987 #3563B6 #5983CF

Accessibility & contrast

On white

8.79
#274987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#274987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274987
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274987#FFFFFF#000000##FFFFFF
##2749871.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4F89
Deuteranopia (green-blind)
#194686
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274987;
/* rgb */ color: rgb(39, 73, 135);
/* oklch */ color: oklch(41.4% 0.111 261.3);
Tailwind
colors: {
  custom: {
    50: '#6d7baa',
    500: '#274987',
    950: '#000000',
  },
}
SCSS
$custom: #274987;
$custom-light: #6d7baa;
$custom-dark: #000000;
JSON
{
  "hex": "#274987",
  "rgb": {
    "r": 39,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 218.75,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.11101,
    "h": 261.3
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#274987
secondary
#B49356
accent
#AA49DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274987

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

Preview Lab → · Contrast checker → · Palette generator →

#274987 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva