#275095#275095

#275095 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.122 H 260.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#275095
RGBrgb(39, 80, 149)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 58%)
CMYKcmyk(73.8%, 46.3%, 0%, 41.6%)
CIE-LABlab(34.68, 10.54, -42.12)
CIE-LCHlch(34.68, 43.42, 284.05°)
OKLaboklab(44.02% -0.0209 -0.1207)
OKLCHoklch(44.02% 0.122 260.2)
XYZxyz(9.1282, 8.3376, 29.5562)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275095 #956C27
analogous
#278795 #275095 #352795
triadic
#275095 #952750 #509527
tetradic
#275095 #952787 #956C27 #279535
square
#275095 #952787 #956C27 #279535
split-complementary
#275095 #953527 #879527
monochromatic
#0E1C34 #1A3664 #275095 #346AC6 #618CD6

Accessibility & contrast

On white

7.87
#275095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#275095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275095
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275095#FFFFFF#000000##FFFFFF
##2750951.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5798
Deuteranopia (green-blind)
#164D94
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275095;
/* rgb */ color: rgb(39, 80, 149);
/* oklch */ color: oklch(44.0% 0.122 260.2);
Tailwind
colors: {
  custom: {
    50: '#7080b4',
    500: '#275095',
    950: '#000000',
  },
}
SCSS
$custom: #275095;
$custom-light: #7080b4;
$custom-dark: #000000;
JSON
{
  "hex": "#275095",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 149
  },
  "hsl": {
    "h": 217.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44018,
    "c": 0.12246,
    "h": 260.2
  },
  "luminance": 0.08339
}

Semantic roles & 50–950 ramp

primary
#275095
secondary
#BB985D
accent
#A846E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #275095

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

Preview Lab → · Contrast checker → · Palette generator →

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