#275196#275196

#275196 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.3% C 0.123 H 259.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#275196
RGBrgb(39, 81, 150)
HSLhsl(217, 59%, 37%)
HSVhsv(217, 74%, 59%)
CMYKcmyk(74%, 46%, 0%, 41.2%)
CIE-LABlab(35.04, 10.26, -42.15)
CIE-LCHlch(35.04, 43.38, 283.69°)
OKLaboklab(44.32% -0.0217 -0.1207)
OKLCHoklch(44.32% 0.123 259.8)
XYZxyz(9.2822, 8.5172, 30.0030)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275196 #966C27
analogous
#278996 #275196 #342796
triadic
#275196 #962751 #519627
tetradic
#275196 #962789 #966C27 #279634
square
#275196 #962789 #966C27 #279634
split-complementary
#275196 #963427 #899627
monochromatic
#0E1D35 #1A3765 #275196 #346BC7 #618ED6

Accessibility & contrast

On white

7.77
#275196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#275196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275196
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275196#FFFFFF#000000##FFFFFF
##2751961.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5899
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275196;
/* rgb */ color: rgb(39, 81, 150);
/* oklch */ color: oklch(44.3% 0.123 259.8);
Tailwind
colors: {
  custom: {
    50: '#7081b5',
    500: '#275196',
    950: '#000000',
  },
}
SCSS
$custom: #275196;
$custom-light: #7081b5;
$custom-dark: #000000;
JSON
{
  "hex": "#275196",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 217.297,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44317,
    "c": 0.12265,
    "h": 259.8
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#275196
secondary
#BC985D
accent
#A746E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #275196

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

Preview Lab → · Contrast checker → · Palette generator →

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