#2C48AA#2C48AA

#2C48AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.161 H 267.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2C48AA
RGBrgb(44, 72, 170)
HSLhsl(227, 59%, 42%)
HSVhsv(227, 74%, 67%)
CMYKcmyk(74.1%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.13, 24.66, -55.63)
CIE-LCHlch(34.13, 60.85, 293.91°)
OKLaboklab(44.14% -0.0076 -0.1604)
OKLCHoklch(44.14% 0.161 267.3)
XYZxyz(10.6092, 8.0714, 39.0212)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C48AA #AA8E2C
analogous
#2C87AA #2C48AA #4F2CAA
triadic
#2C48AA #AA2C48 #48AA2C
tetradic
#2C48AA #AA2C87 #AA8E2C #2CAA4F
square
#2C48AA #AA2C87 #AA8E2C #2CAA4F
split-complementary
#2C48AA #AA4F2C #87AA2C
monochromatic
#131F49 #1F3379 #2C48AA #4463CF #758CDB

Accessibility & contrast

On white

8.03
#2C48AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C48AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C48AA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C48AA#FFFFFF#000000##FFFFFF
##2C48AA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c48aa;
/* rgb */ color: rgb(44, 72, 170);
/* oklch */ color: oklch(44.1% 0.161 267.3);
Tailwind
colors: {
  custom: {
    50: '#777ac4',
    500: '#2c48aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c48aa;
$custom-light: #777ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c48aa",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 226.667,
    "s": 58.879,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.16062,
    "h": 267.3
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#2C48AA
secondary
#C3B06F
accent
#BF46E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C48AA

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

Preview Lab → · Contrast checker → · Palette generator →

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