#274F88#274F88

#274F88 is a dark, moderate blue. Relative luminance 0.078; OKLCH L 42.9% C 0.105 H 257.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#274F88
RGBrgb(39, 79, 136)
HSLhsl(215, 55%, 34%)
HSVhsv(215, 71%, 53%)
CMYKcmyk(71.3%, 41.9%, 0%, 46.7%)
CIE-LABlab(33.56, 6.17, -35.97)
CIE-LCHlch(33.56, 36.50, 279.74°)
OKLaboklab(42.9% -0.0226 -0.1026)
OKLCHoklch(42.9% 0.105 257.6)
XYZxyz(8.0750, 7.8000, 24.3678)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#274F88 #886027
analogous
#278088 #274F88 #302788
triadic
#274F88 #88274F #4F8827
tetradic
#274F88 #882780 #886027 #278830
square
#274F88 #882780 #886027 #278830
split-complementary
#274F88 #883027 #808827
monochromatic
#0C1829 #193358 #274F88 #356BB8 #5A8AD0

Accessibility & contrast

On white

8.20
#274F88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#274F88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #274F88
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##274F88#FFFFFF#000000##FFFFFF
##274F881.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548A
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#005C65
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #274f88;
/* rgb */ color: rgb(39, 79, 136);
/* oklch */ color: oklch(42.9% 0.105 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7fab',
    500: '#274f88',
    950: '#000000',
  },
}
SCSS
$custom: #274f88;
$custom-light: #6d7fab;
$custom-dark: #000000;
JSON
{
  "hex": "#274f88",
  "rgb": {
    "r": 39,
    "g": 79,
    "b": 136
  },
  "hsl": {
    "h": 215.258,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42895,
    "c": 0.10508,
    "h": 257.6
  },
  "luminance": 0.07801
}

Semantic roles & 50–950 ramp

primary
#274F88
secondary
#B58E56
accent
#A149DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #274F88

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

Preview Lab → · Contrast checker → · Palette generator →

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