#2758CA#2758CA

#2758CA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.8% C 0.185 H 263.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#2758CA
RGBrgb(39, 88, 202)
HSLhsl(222, 68%, 47%)
HSVhsv(222, 81%, 79%)
CMYKcmyk(80.7%, 56.4%, 0%, 20.8%)
CIE-LABlab(40.69, 25.74, -63.75)
CIE-LCHlch(40.69, 68.75, 291.99°)
OKLaboklab(49.8% -0.0209 -0.1841)
OKLCHoklch(49.8% 0.185 263.5)
XYZxyz(14.9833, 11.6733, 57.3291)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2758CA #CA9927
analogous
#27AACA #2758CA #4727CA
triadic
#2758CA #CA2758 #58CA27
tetradic
#2758CA #CA27AA #CA9927 #27CA47
square
#2758CA #CA27AA #CA9927 #27CA47
split-complementary
#2758CA #CA4727 #AACA27
monochromatic
#132B63 #1D4297 #2758CA #517BDD #84A2E7

Accessibility & contrast

On white

6.30
#2758CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2758CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2758CA#FFFFFF#000000##FFFFFF
##2758CA1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0059C8
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2758ca;
/* rgb */ color: rgb(39, 88, 202);
/* oklch */ color: oklch(49.8% 0.185 263.5);
Tailwind
colors: {
  custom: {
    50: '#7c86db',
    500: '#2758ca',
    950: '#000000',
  },
}
SCSS
$custom: #2758ca;
$custom-light: #7c86db;
$custom-dark: #000000;
JSON
{
  "hex": "#2758ca",
  "rgb": {
    "r": 39,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 221.963,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49796,
    "c": 0.18532,
    "h": 263.5
  },
  "luminance": 0.11675
}

Semantic roles & 50–950 ramp

primary
#2758CA
secondary
#D0B77C
accent
#B63DEB
background
#F8F8FD
surface
#EFEFFB
border
#CACAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2758CA

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

Preview Lab → · Contrast checker → · Palette generator →

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