#275398#275398

#275398 is a dark, vivid blue. Relative luminance 0.089; OKLCH L 44.9% C 0.123 H 259.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#275398
RGBrgb(39, 83, 152)
HSLhsl(217, 59%, 37%)
HSVhsv(217, 74%, 60%)
CMYKcmyk(74.3%, 45.4%, 0%, 40.4%)
CIE-LABlab(35.76, 9.71, -42.20)
CIE-LCHlch(35.76, 43.31, 282.96°)
OKLaboklab(44.92% -0.0231 -0.1208)
OKLCHoklch(44.92% 0.123 259.2)
XYZxyz(9.5954, 8.8838, 30.9087)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275398 #986C27
analogous
#278C98 #275398 #332798
triadic
#275398 #982753 #539827
tetradic
#275398 #98278C #986C27 #279833
square
#275398 #98278C #986C27 #279833
split-complementary
#275398 #983327 #8C9827
monochromatic
#0E1E37 #1B3867 #275398 #336EC9 #6390D7

Accessibility & contrast

On white

7.56
#275398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#275398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275398
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275398#FFFFFF#000000##FFFFFF
##2753981.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#1A4F97
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #275398;
/* rgb */ color: rgb(39, 83, 152);
/* oklch */ color: oklch(44.9% 0.123 259.2);
Tailwind
colors: {
  custom: {
    50: '#7182b7',
    500: '#275398',
    950: '#000000',
  },
}
SCSS
$custom: #275398;
$custom-light: #7182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275398",
  "rgb": {
    "r": 39,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 216.637,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.12304,
    "h": 259.2
  },
  "luminance": 0.08885
}

Semantic roles & 50–950 ramp

primary
#275398
secondary
#BC985E
accent
#A545E2
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275398

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

Preview Lab → · Contrast checker → · Palette generator →

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