#274E88#274E88

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

Color values

HEX#274E88
RGBrgb(39, 78, 136)
HSLhsl(216, 55%, 34%)
HSVhsv(216, 71%, 53%)
CMYKcmyk(71.3%, 42.6%, 0%, 46.7%)
CIE-LABlab(33.26, 6.84, -36.46)
CIE-LCHlch(33.26, 37.10, 280.62°)
OKLaboklab(42.66% -0.0216 -0.104)
OKLCHoklch(42.66% 0.106 258.3)
XYZxyz(8.0034, 7.6569, 24.3439)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274E88 #886127
analogous
#277F88 #274E88 #302788
triadic
#274E88 #88274E #4E8827
tetradic
#274E88 #88277F #886127 #278830
square
#274E88 #88277F #886127 #278830
split-complementary
#274E88 #883027 #7F8827
monochromatic
#0C1729 #193358 #274E88 #3569B8 #5A89D0

Accessibility & contrast

On white

8.30
#274E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#274E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274E88
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274E88#FFFFFF#000000##FFFFFF
##274E881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33538A
Deuteranopia (green-blind)
#234A87
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #274e88;
/* rgb */ color: rgb(39, 78, 136);
/* oklch */ color: oklch(42.7% 0.106 258.3);
Tailwind
colors: {
  custom: {
    50: '#6d7fab',
    500: '#274e88',
    950: '#000000',
  },
}
SCSS
$custom: #274e88;
$custom-light: #6d7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#274e88",
  "rgb": {
    "r": 39,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 215.876,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42658,
    "c": 0.10627,
    "h": 258.3
  },
  "luminance": 0.07658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #274E88

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

Preview Lab → · Contrast checker → · Palette generator →

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