#274D88#274D88

#274D88 is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.4% C 0.107 H 259.0°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#274D88
RGBrgb(39, 77, 136)
HSLhsl(216, 55%, 34%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(71.3%, 43.4%, 0%, 46.7%)
CIE-LABlab(32.95, 7.50, -36.95)
CIE-LCHlch(32.95, 37.70, 281.48°)
OKLaboklab(42.42% -0.0206 -0.1055)
OKLCHoklch(42.42% 0.107 259)
XYZxyz(7.9329, 7.5158, 24.3204)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274D88 #886227
analogous
#277E88 #274D88 #322788
triadic
#274D88 #88274D #4D8827
tetradic
#274D88 #88277E #886227 #278832
square
#274D88 #88277E #886227 #278832
split-complementary
#274D88 #883227 #7E8827
monochromatic
#0C1729 #193258 #274D88 #3568B8 #5A88D0

Accessibility & contrast

On white

8.39
#274D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#274D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274D88
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274D88#FFFFFF#000000##FFFFFF
##274D881.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31528A
Deuteranopia (green-blind)
#214987
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #274d88;
/* rgb */ color: rgb(39, 77, 136);
/* oklch */ color: oklch(42.4% 0.107 259.0);
Tailwind
colors: {
  custom: {
    50: '#6d7eab',
    500: '#274d88',
    950: '#000000',
  },
}
SCSS
$custom: #274d88;
$custom-light: #6d7eab;
$custom-dark: #000000;
JSON
{
  "hex": "#274d88",
  "rgb": {
    "r": 39,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 216.495,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.10749,
    "h": 259
  },
  "luminance": 0.07517
}

Semantic roles & 50–950 ramp

primary
#274D88
secondary
#B59056
accent
#A449DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #274D88

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

Preview Lab → · Contrast checker → · Palette generator →

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