#275299#275299

#275299 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.8% C 0.126 H 259.9°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#275299
RGBrgb(39, 82, 153)
HSLhsl(217, 59%, 38%)
HSVhsv(217, 75%, 60%)
CMYKcmyk(74.5%, 46.4%, 0%, 40%)
CIE-LABlab(35.53, 10.77, -43.18)
CIE-LCHlch(35.53, 44.50, 284.00°)
OKLaboklab(44.76% -0.022 -0.1237)
OKLCHoklch(44.76% 0.126 259.9)
XYZxyz(9.6017, 8.7648, 31.3166)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275299 #996E27
analogous
#278B99 #275299 #352799
triadic
#275299 #992752 #529927
tetradic
#275299 #99278B #996E27 #279935
square
#275299 #99278B #996E27 #279935
split-complementary
#275299 #993527 #8B9927
monochromatic
#0E1E37 #1B3868 #275299 #336CCA #638FD7

Accessibility & contrast

On white

7.63
#275299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#275299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275299
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275299#FFFFFF#000000##FFFFFF
##2752991.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#154F98
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #275299;
/* rgb */ color: rgb(39, 82, 153);
/* oklch */ color: oklch(44.8% 0.126 259.9);
Tailwind
colors: {
  custom: {
    50: '#7182b7',
    500: '#275299',
    950: '#000000',
  },
}
SCSS
$custom: #275299;
$custom-light: #7182b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275299",
  "rgb": {
    "r": 39,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 217.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44757,
    "c": 0.12568,
    "h": 259.9
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#275299
secondary
#BD995F
accent
#A745E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275299

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

Preview Lab → · Contrast checker → · Palette generator →

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