#275199#275199

#275199 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.5% C 0.127 H 260.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#275199
RGBrgb(39, 81, 153)
HSLhsl(218, 59%, 38%)
HSVhsv(218, 75%, 60%)
CMYKcmyk(74.5%, 47.1%, 0%, 40%)
CIE-LABlab(35.23, 11.43, -43.65)
CIE-LCHlch(35.23, 45.12, 284.67°)
OKLaboklab(44.53% -0.0211 -0.1251)
OKLCHoklch(44.53% 0.127 260.4)
XYZxyz(9.5268, 8.6151, 31.2916)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275199 #996F27
analogous
#278A99 #275199 #362799
triadic
#275199 #992751 #519927
tetradic
#275199 #99278A #996F27 #279936
square
#275199 #99278A #996F27 #279936
split-complementary
#275199 #993627 #8A9927
monochromatic
#0E1D37 #1B3768 #275199 #336BCA #638ED7

Accessibility & contrast

On white

7.71
#275199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#275199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275199
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275199#FFFFFF#000000##FFFFFF
##2751991.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B589C
Deuteranopia (green-blind)
#114E98
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #275199;
/* rgb */ color: rgb(39, 81, 153);
/* oklch */ color: oklch(44.5% 0.127 260.4);
Tailwind
colors: {
  custom: {
    50: '#7181b7',
    500: '#275199',
    950: '#000000',
  },
}
SCSS
$custom: #275199;
$custom-light: #7181b7;
$custom-dark: #000000;
JSON
{
  "hex": "#275199",
  "rgb": {
    "r": 39,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 217.895,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.4453,
    "c": 0.12691,
    "h": 260.4
  },
  "luminance": 0.08616
}

Semantic roles & 50–950 ramp

primary
#275199
secondary
#BD9A5F
accent
#A945E3
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #275199

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

Preview Lab → · Contrast checker → · Palette generator →

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