#2C48BE#2C48BE

#2C48BE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.187 H 267.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2C48BE
RGBrgb(44, 72, 190)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 77%, 75%)
CMYKcmyk(76.8%, 62.1%, 0%, 25.5%)
CIE-LABlab(35.76, 32.14, -64.80)
CIE-LCHlch(35.76, 72.33, 296.38°)
OKLaboklab(45.87% -0.0074 -0.1873)
OKLCHoklch(45.87% 0.187 267.7)
XYZxyz(12.6471, 8.8865, 49.7539)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48BE #BEA22C
analogous
#2C91BE #2C48BE #592CBE
triadic
#2C48BE #BE2C48 #48BE2C
tetradic
#2C48BE #BE2C91 #BEA22C #2CBE59
square
#2C48BE #BE2C91 #BEA22C #2CBE59
split-complementary
#2C48BE #BE592C #91BE2C
monochromatic
#15225B #20358C #2C48BE #516AD7 #8295E2

Accessibility & contrast

On white

7.56
#2C48BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C48BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48BE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48BE#FFFFFF#000000##FFFFFF
##2C48BE1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c48be;
/* rgb */ color: rgb(44, 72, 190);
/* oklch */ color: oklch(45.9% 0.187 267.7);
Tailwind
colors: {
  custom: {
    50: '#7c7ad3',
    500: '#2c48be',
    950: '#000000',
  },
}
SCSS
$custom: #2c48be;
$custom-light: #7c7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48be",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 228.493,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45865,
    "c": 0.18749,
    "h": 267.7
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#2C48BE
secondary
#CBBC7B
accent
#C642E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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