#2C38B0#2C38B0

#2C38B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.188 H 270.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#2C38B0
RGBrgb(44, 56, 176)
HSLhsl(235, 60%, 43%)
HSVhsv(235, 75%, 69%)
CMYKcmyk(75%, 68.2%, 0%, 31%)
CIE-LABlab(30.63, 37.27, -64.93)
CIE-LCHlch(30.63, 74.86, 299.86°)
OKLaboklab(41.72% 0.0029 -0.1878)
OKLCHoklch(41.72% 0.188 270.9)
XYZxyz(10.2867, 6.4973, 41.7779)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C38B0 #B0A42C
analogous
#2C7AB0 #2C38B0 #622CB0
triadic
#2C38B0 #B02C38 #38B02C
tetradic
#2C38B0 #B02C7A #B0A42C #2CB062
square
#2C38B0 #B02C7A #B0A42C #2CB062
split-complementary
#2C38B0 #B0622C #7AB02C
monochromatic
#14194E #20287F #2C38B0 #4854D1 #7982DD

Accessibility & contrast

On white

9.13
#2C38B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C38B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C38B0
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C38B0#FFFFFF#000000##FFFFFF
##2C38B01.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00596F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c38b0;
/* rgb */ color: rgb(44, 56, 176);
/* oklch */ color: oklch(41.7% 0.188 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a6fc9',
    500: '#2c38b0',
    950: '#000000',
  },
}
SCSS
$custom: #2c38b0;
$custom-light: #7a6fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c38b0",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 234.545,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.41719,
    "c": 0.18786,
    "h": 270.9
  },
  "luminance": 0.06498
}

Semantic roles & 50–950 ramp

primary
#2C38B0
secondary
#C6BE72
accent
#D545E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2C38B0

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

Preview Lab → · Contrast checker → · Palette generator →

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