#2758AA#2758AA

#2758AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.3% C 0.142 H 260.1°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2758AA
RGBrgb(39, 88, 170)
HSLhsl(218, 63%, 41%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(77.1%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.40, 13.40, -48.74)
CIE-LCHlch(38.40, 50.55, 285.38°)
OKLaboklab(47.32% -0.0244 -0.14)
OKLCHoklch(47.32% 0.142 260.1)
XYZxyz(11.5795, 10.3117, 39.4025)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758AA #AA7927
analogous
#2799AA #2758AA #3727AA
triadic
#2758AA #AA2758 #58AA27
tetradic
#2758AA #AA2799 #AA7927 #27AA37
square
#2758AA #AA2799 #AA7927 #27AA37
split-complementary
#2758AA #AA3727 #99AA27
monochromatic
#102446 #1C3E78 #2758AA #3C74D2 #6E98DE

Accessibility & contrast

On white

6.86
#2758AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2758AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2758AA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2758AA#FFFFFF#000000##FFFFFF
##2758AA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2758aa;
/* rgb */ color: rgb(39, 88, 170);
/* oklch */ color: oklch(47.3% 0.142 260.1);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2758aa',
    950: '#000000',
  },
}
SCSS
$custom: #2758aa;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2758aa",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 217.557,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.14208,
    "h": 260.1
  },
  "luminance": 0.10313
}

Semantic roles & 50–950 ramp

primary
#2758AA
secondary
#C4A269
accent
#A942E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2758AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2758AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva