#275698#275698

#275698 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.119 H 257.4°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#275698
RGBrgb(39, 86, 152)
HSLhsl(215, 59%, 37%)
HSVhsv(215, 74%, 60%)
CMYKcmyk(74.3%, 43.4%, 0%, 40.4%)
CIE-LABlab(36.65, 7.74, -40.77)
CIE-LCHlch(36.65, 41.50, 280.74°)
OKLaboklab(45.61% -0.0259 -0.1166)
OKLCHoklch(45.61% 0.119 257.4)
XYZxyz(9.8299, 9.3528, 30.9869)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275698 #986927
analogous
#278F98 #275698 #302798
triadic
#275698 #982756 #569827
tetradic
#275698 #98278F #986927 #279830
square
#275698 #98278F #986927 #279830
split-complementary
#275698 #983027 #8F9827
monochromatic
#0E1F37 #1B3A67 #275698 #3372C9 #6393D7

Accessibility & contrast

On white

7.32
#275698 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#275698 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275698
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275698#FFFFFF#000000##FFFFFF
##2756981.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365C9B
Deuteranopia (green-blind)
#225197
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #275698;
/* rgb */ color: rgb(39, 86, 152);
/* oklch */ color: oklch(45.6% 0.119 257.4);
Tailwind
colors: {
  custom: {
    50: '#7185b7',
    500: '#275698',
    950: '#000000',
  },
}
SCSS
$custom: #275698;
$custom-light: #7185b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275698",
  "rgb": {
    "r": 39,
    "g": 86,
    "b": 152
  },
  "hsl": {
    "h": 215.044,
    "s": 59.162,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.11942,
    "h": 257.4
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#275698
secondary
#BC955E
accent
#A145E2
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #275698

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

Preview Lab → · Contrast checker → · Palette generator →

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