#2C58A1#2C58A1

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

Color values

HEX#2C58A1
RGBrgb(44, 88, 161)
HSLhsl(217, 57%, 40%)
HSVhsv(217, 73%, 63%)
CMYKcmyk(72.7%, 45.3%, 0%, 36.9%)
CIE-LABlab(38.00, 10.61, -44.01)
CIE-LCHlch(38.00, 45.27, 283.55°)
OKLaboklab(46.88% -0.0223 -0.126)
OKLCHoklch(46.88% 0.128 260)
XYZxyz(10.9591, 10.0870, 35.0807)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C58A1 #A1752C
analogous
#2C92A1 #2C58A1 #3B2CA1
triadic
#2C58A1 #A12C58 #58A12C
tetradic
#2C58A1 #A12C92 #A1752C #2CA13B
square
#2C58A1 #A12C92 #A1752C #2CA13B
split-complementary
#2C58A1 #A13B2C #92A12C
monochromatic
#122341 #1F3E71 #2C58A1 #4074CB #7097D8

Accessibility & contrast

On white

6.96
#2C58A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C58A1
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C58A1#FFFFFF#000000##FFFFFF
##2C58A11.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335FA4
Deuteranopia (green-blind)
#1D54A0
Tritanopia (blue-blind)
#006974
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c58a1;
/* rgb */ color: rgb(44, 88, 161);
/* oklch */ color: oklch(46.9% 0.128 260.0);
Tailwind
colors: {
  custom: {
    50: '#7486bd',
    500: '#2c58a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c58a1;
$custom-light: #7486bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c58a1",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 161
  },
  "hsl": {
    "h": 217.436,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.12794,
    "h": 260
  },
  "luminance": 0.10088
}

Semantic roles & 50–950 ramp

primary
#2C58A1
secondary
#BF9F6A
accent
#A747E0
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C58A1

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

Preview Lab → · Contrast checker → · Palette generator →

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