#274A87#274A87

#274A87 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.110 H 260.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#274A87
RGBrgb(39, 74, 135)
HSLhsl(218, 55%, 34%)
HSVhsv(218, 71%, 53%)
CMYKcmyk(71.1%, 45.2%, 0%, 47.1%)
CIE-LABlab(31.98, 9.13, -37.88)
CIE-LCHlch(31.98, 38.97, 283.54°)
OKLaboklab(41.65% -0.0178 -0.1083)
OKLCHoklch(41.65% 0.11 260.7)
XYZxyz(7.6571, 7.0774, 23.8795)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274A87 #876427
analogous
#277A87 #274A87 #342787
triadic
#274A87 #87274A #4A8727
tetradic
#274A87 #87277A #876427 #278734
square
#274A87 #87277A #876427 #278734
split-complementary
#274A87 #873427 #7A8727
monochromatic
#0C1628 #193058 #274A87 #3564B6 #5984CF

Accessibility & contrast

On white

8.69
#274A87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#274A87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274A87
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274A87#FFFFFF#000000##FFFFFF
##274A871.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5089
Deuteranopia (green-blind)
#1B4786
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #274a87;
/* rgb */ color: rgb(39, 74, 135);
/* oklch */ color: oklch(41.7% 0.110 260.7);
Tailwind
colors: {
  custom: {
    50: '#6d7caa',
    500: '#274a87',
    950: '#000000',
  },
}
SCSS
$custom: #274a87;
$custom-light: #6d7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#274a87",
  "rgb": {
    "r": 39,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 218.125,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.10975,
    "h": 260.7
  },
  "luminance": 0.07078
}

Semantic roles & 50–950 ramp

primary
#274A87
secondary
#B49256
accent
#A849DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274A87

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

Preview Lab → · Contrast checker → · Palette generator →

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