#275291#275291

#275291 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.114 H 258.1°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#275291
RGBrgb(39, 82, 145)
HSLhsl(216, 58%, 36%)
HSVhsv(216, 73%, 57%)
CMYKcmyk(73.1%, 43.4%, 0%, 43.1%)
CIE-LABlab(35.02, 7.66, -39.14)
CIE-LCHlch(35.02, 39.89, 281.08°)
OKLaboklab(44.2% -0.0236 -0.1119)
OKLCHoklch(44.2% 0.114 258.1)
XYZxyz(8.9630, 8.5093, 27.9527)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#275291 #916627
analogous
#278791 #275291 #312791
triadic
#275291 #912752 #529127
tetradic
#275291 #912787 #916627 #279131
square
#275291 #912787 #916627 #279131
split-complementary
#275291 #913127 #879127
monochromatic
#0D1B31 #1A3761 #275291 #346DC1 #5F8ED4

Accessibility & contrast

On white

7.77
#275291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#275291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #275291
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##275291#FFFFFF#000000##FFFFFF
##2752911.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345893
Deuteranopia (green-blind)
#214E90
Tritanopia (blue-blind)
#00616A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #275291;
/* rgb */ color: rgb(39, 82, 145);
/* oklch */ color: oklch(44.2% 0.114 258.1);
Tailwind
colors: {
  custom: {
    50: '#6f82b2',
    500: '#275291',
    950: '#000000',
  },
}
SCSS
$custom: #275291;
$custom-light: #6f82b2;
$custom-dark: #000000;
JSON
{
  "hex": "#275291",
  "rgb": {
    "r": 39,
    "g": 82,
    "b": 145
  },
  "hsl": {
    "h": 215.66,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44203,
    "c": 0.11433,
    "h": 258.1
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#275291
secondary
#B9935B
accent
#A247E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #275291

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

Preview Lab → · Contrast checker → · Palette generator →

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