#275197#275197

#275197 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.4% C 0.124 H 260.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#275197
RGBrgb(39, 81, 151)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 59%)
CMYKcmyk(74.2%, 46.4%, 0%, 40.8%)
CIE-LABlab(35.10, 10.65, -42.65)
CIE-LCHlch(35.10, 43.96, 284.02°)
OKLaboklab(44.39% -0.0215 -0.1222)
OKLCHoklch(44.39% 0.124 260)
XYZxyz(9.3630, 8.5495, 30.4289)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275197 #976D27
analogous
#278997 #275197 #352797
triadic
#275197 #972751 #519727
tetradic
#275197 #972789 #976D27 #279735
square
#275197 #972789 #976D27 #279735
split-complementary
#275197 #973527 #899727
monochromatic
#0E1D36 #1A3766 #275197 #346BC8 #628ED6

Accessibility & contrast

On white

7.75
#275197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#275197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275197
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275197#FFFFFF#000000##FFFFFF
##2751971.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D589A
Deuteranopia (green-blind)
#154E96
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #275197;
/* rgb */ color: rgb(39, 81, 151);
/* oklch */ color: oklch(44.4% 0.124 260.0);
Tailwind
colors: {
  custom: {
    50: '#7081b6',
    500: '#275197',
    950: '#000000',
  },
}
SCSS
$custom: #275197;
$custom-light: #7081b6;
$custom-dark: #000000;
JSON
{
  "hex": "#275197",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 217.5,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44388,
    "c": 0.12407,
    "h": 260
  },
  "luminance": 0.08551
}

Semantic roles & 50–950 ramp

primary
#275197
secondary
#BC995E
accent
#A746E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275197

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

Preview Lab → · Contrast checker → · Palette generator →

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