#2758AB#2758AB

#2758AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.143 H 260.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#2758AB
RGBrgb(39, 88, 171)
HSLhsl(218, 63%, 41%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(77.2%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.46, 13.79, -49.22)
CIE-LCHlch(38.46, 51.12, 285.65°)
OKLaboklab(47.4% -0.0242 -0.1414)
OKLCHoklch(47.4% 0.143 260.3)
XYZxyz(11.6744, 10.3497, 39.9026)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758AB #AB7A27
analogous
#279AAB #2758AB #3827AB
triadic
#2758AB #AB2758 #58AB27
tetradic
#2758AB #AB279A #AB7A27 #27AB38
square
#2758AB #AB279A #AB7A27 #27AB38
split-complementary
#2758AB #AB3827 #9AAB27
monochromatic
#102547 #1C3E79 #2758AB #3D74D3 #6E98DE

Accessibility & contrast

On white

6.84
#2758AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2758AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2758AB#FFFFFF#000000##FFFFFF
##2758AB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2758ab;
/* rgb */ color: rgb(39, 88, 171);
/* oklch */ color: oklch(47.4% 0.143 260.3);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2758ab',
    950: '#000000',
  },
}
SCSS
$custom: #2758ab;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2758ab",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 217.727,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47395,
    "c": 0.14345,
    "h": 260.3
  },
  "luminance": 0.10351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2758AB

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

Preview Lab → · Contrast checker → · Palette generator →

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