#275098#275098

#275098 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.2% C 0.127 H 260.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#275098
RGBrgb(39, 80, 152)
HSLhsl(218, 59%, 37%)
HSVhsv(218, 74%, 60%)
CMYKcmyk(74.3%, 47.4%, 0%, 40.4%)
CIE-LABlab(34.87, 11.71, -43.63)
CIE-LCHlch(34.87, 45.17, 285.02°)
OKLaboklab(44.23% -0.0204 -0.1251)
OKLCHoklch(44.23% 0.127 260.7)
XYZxyz(9.3708, 8.4346, 30.8339)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275098 #986F27
analogous
#278998 #275098 #372798
triadic
#275098 #982750 #509827
tetradic
#275098 #982789 #986F27 #279837
square
#275098 #982789 #986F27 #279837
split-complementary
#275098 #983727 #899827
monochromatic
#0E1D37 #1B3667 #275098 #336AC9 #638DD7

Accessibility & contrast

On white

7.81
#275098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#275098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275098
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275098#FFFFFF#000000##FFFFFF
##2750981.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#0F4D97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275098;
/* rgb */ color: rgb(39, 80, 152);
/* oklch */ color: oklch(44.2% 0.127 260.7);
Tailwind
colors: {
  custom: {
    50: '#7180b7',
    500: '#275098',
    950: '#000000',
  },
}
SCSS
$custom: #275098;
$custom-light: #7180b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275098",
  "rgb": {
    "r": 39,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 218.23,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44232,
    "c": 0.12673,
    "h": 260.7
  },
  "luminance": 0.08436
}

Semantic roles & 50–950 ramp

primary
#275098
secondary
#BC9A5E
accent
#A945E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275098

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

Preview Lab → · Contrast checker → · Palette generator →

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