#2C48AF#2C48AF

#2C48AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 267.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2C48AF
RGBrgb(44, 72, 175)
HSLhsl(227, 60%, 43%)
HSVhsv(227, 75%, 69%)
CMYKcmyk(74.9%, 58.9%, 0%, 31.4%)
CIE-LABlab(34.53, 26.55, -57.96)
CIE-LCHlch(34.53, 63.75, 294.61°)
OKLaboklab(44.56% -0.0075 -0.1673)
OKLCHoklch(44.56% 0.167 267.4)
XYZxyz(11.0912, 8.2641, 41.5597)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48AF #AF932C
analogous
#2C89AF #2C48AF #522CAF
triadic
#2C48AF #AF2C48 #48AF2C
tetradic
#2C48AF #AF2C89 #AF932C #2CAF52
square
#2C48AF #AF2C89 #AF932C #2CAF52
split-complementary
#2C48AF #AF522C #89AF2C
monochromatic
#13204D #20347E #2C48AF #4765D1 #788EDD

Accessibility & contrast

On white

7.92
#2C48AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2C48AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48AF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48AF#FFFFFF#000000##FFFFFF
##2C48AF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c48af;
/* rgb */ color: rgb(44, 72, 175);
/* oklch */ color: oklch(44.6% 0.167 267.4);
Tailwind
colors: {
  custom: {
    50: '#787ac8',
    500: '#2c48af',
    950: '#000000',
  },
}
SCSS
$custom: #2c48af;
$custom-light: #787ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48af",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 227.176,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4456,
    "c": 0.16746,
    "h": 267.4
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#2C48AF
secondary
#C5B372
accent
#C145E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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