#2C58A2#2C58A2

#2C58A2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.129 H 260.2°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#2C58A2
RGBrgb(44, 88, 162)
HSLhsl(218, 57%, 40%)
HSVhsv(218, 73%, 64%)
CMYKcmyk(72.8%, 45.7%, 0%, 36.5%)
CIE-LABlab(38.06, 10.99, -44.50)
CIE-LCHlch(38.06, 45.84, 283.87°)
OKLaboklab(46.95% -0.0221 -0.1274)
OKLCHoklch(46.95% 0.129 260.2)
XYZxyz(11.0477, 10.1224, 35.5470)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58A2 #A2762C
analogous
#2C93A2 #2C58A2 #3B2CA2
triadic
#2C58A2 #A22C58 #58A22C
tetradic
#2C58A2 #A22C93 #A2762C #2CA23B
square
#2C58A2 #A22C93 #A2762C #2CA23B
split-complementary
#2C58A2 #A23B2C #93A22C
monochromatic
#122442 #1F3E72 #2C58A2 #4074CB #7097D8

Accessibility & contrast

On white

6.94
#2C58A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2C58A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C58A2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58A2#FFFFFF#000000##FFFFFF
##2C58A21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA5
Deuteranopia (green-blind)
#1B55A0
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2c58a2;
/* rgb */ color: rgb(44, 88, 162);
/* oklch */ color: oklch(46.9% 0.129 260.2);
Tailwind
colors: {
  custom: {
    50: '#7586be',
    500: '#2c58a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c58a2;
$custom-light: #7586be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58a2",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 217.627,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46949,
    "c": 0.12935,
    "h": 260.2
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#2C58A2
secondary
#BFA06A
accent
#A747E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C58A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2C58A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva