#2858AC#2858AC

#2858AC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.5% C 0.145 H 260.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#2858AC
RGBrgb(40, 88, 172)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(76.7%, 48.8%, 0%, 32.5%)
CIE-LABlab(38.56, 14.30, -49.65)
CIE-LCHlch(38.56, 51.67, 286.07°)
OKLaboklab(47.5% -0.0234 -0.1426)
OKLCHoklch(47.5% 0.145 260.7)
XYZxyz(11.8085, 10.4078, 40.4083)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858AC #AC7C28
analogous
#289AAC #2858AC #3A28AC
triadic
#2858AC #AC2858 #58AC28
tetradic
#2858AC #AC289A #AC7C28 #28AC3A
square
#2858AC #AC289A #AC7C28 #28AC3A
split-complementary
#2858AC #AC3A28 #9AAC28
monochromatic
#112549 #1C3F7A #2858AC #3F74D2 #7198DE

Accessibility & contrast

On white

6.81
#2858AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2858AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858AC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858AC#FFFFFF#000000##FFFFFF
##2858AC1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2861AF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006C7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2858ac;
/* rgb */ color: rgb(40, 88, 172);
/* oklch */ color: oklch(47.5% 0.145 260.7);
Tailwind
colors: {
  custom: {
    50: '#7586c5',
    500: '#2858ac',
    950: '#000000',
  },
}
SCSS
$custom: #2858ac;
$custom-light: #7586c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2858ac",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 172
  },
  "hsl": {
    "h": 218.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47504,
    "c": 0.14454,
    "h": 260.7
  },
  "luminance": 0.10409
}

Semantic roles & 50–950 ramp

primary
#2858AC
secondary
#C5A46B
accent
#AA42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2858AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva