#275699#275699

#275699 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 45.7% C 0.121 H 257.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#275699
RGBrgb(39, 86, 153)
HSLhsl(215, 59%, 38%)
HSVhsv(215, 75%, 60%)
CMYKcmyk(74.5%, 43.8%, 0%, 40%)
CIE-LABlab(36.72, 8.12, -41.27)
CIE-LCHlch(36.72, 42.06, 281.13°)
OKLaboklab(45.68% -0.0257 -0.118)
OKLCHoklch(45.68% 0.121 257.7)
XYZxyz(9.9122, 9.3857, 31.4200)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275699 #996A27
analogous
#278F99 #275699 #312799
triadic
#275699 #992756 #569927
tetradic
#275699 #99278F #996A27 #279931
square
#275699 #99278F #996A27 #279931
split-complementary
#275699 #993127 #8F9927
monochromatic
#0E1F37 #1B3B68 #275699 #3371CA #6393D7

Accessibility & contrast

On white

7.30
#275699 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#275699 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275699
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275699#FFFFFF#000000##FFFFFF
##2756991.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9C
Deuteranopia (green-blind)
#215298
Tritanopia (blue-blind)
#006670
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #275699;
/* rgb */ color: rgb(39, 86, 153);
/* oklch */ color: oklch(45.7% 0.121 257.7);
Tailwind
colors: {
  custom: {
    50: '#7185b7',
    500: '#275699',
    950: '#000000',
  },
}
SCSS
$custom: #275699;
$custom-light: #7185b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275699",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 153
  },
  "hsl": {
    "h": 215.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45676,
    "c": 0.12082,
    "h": 257.7
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#275699
secondary
#BD965F
accent
#A245E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #275699

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

Preview Lab → · Contrast checker → · Palette generator →

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