#2858A9#2858A9

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

Color values

HEX#2858A9
RGBrgb(40, 88, 169)
HSLhsl(218, 62%, 41%)
HSVhsv(218, 76%, 66%)
CMYKcmyk(76.3%, 47.9%, 0%, 33.7%)
CIE-LABlab(38.36, 13.14, -48.19)
CIE-LCHlch(38.36, 49.95, 285.25°)
OKLaboklab(47.29% -0.0238 -0.1383)
OKLCHoklch(47.29% 0.14 260.2)
XYZxyz(11.5236, 10.2938, 38.9080)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858A9 #A97928
analogous
#2898A9 #2858A9 #3828A9
triadic
#2858A9 #A92858 #58A928
tetradic
#2858A9 #A92898 #A97928 #28A938
square
#2858A9 #A92898 #A97928 #28A938
split-complementary
#2858A9 #A93828 #98A928
monochromatic
#112446 #1C3E78 #2858A9 #3D74D1 #6F98DD

Accessibility & contrast

On white

6.86
#2858A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2858A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2858A9#FFFFFF#000000##FFFFFF
##2858A91.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)
#2B61AC
Deuteranopia (green-blind)
#0455A7
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2858a9;
/* rgb */ color: rgb(40, 88, 169);
/* oklch */ color: oklch(47.3% 0.140 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586c3',
    500: '#2858a9',
    950: '#000000',
  },
}
SCSS
$custom: #2858a9;
$custom-light: #7586c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2858a9",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 169
  },
  "hsl": {
    "h": 217.674,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47287,
    "c": 0.14039,
    "h": 260.2
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#2858A9
secondary
#C4A269
accent
#A943E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2858A9

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

Preview Lab → · Contrast checker → · Palette generator →

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