#2C3D93#2C3D93

#2C3D93 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.143 H 270.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2C3D93
RGBrgb(44, 61, 147)
HSLhsl(230, 54%, 37%)
HSVhsv(230, 70%, 58%)
CMYKcmyk(70.1%, 58.5%, 0%, 42.4%)
CIE-LABlab(29.36, 23.36, -49.48)
CIE-LCHlch(29.36, 54.71, 295.27°)
OKLaboklab(40% 0.0005 -0.1425)
OKLCHoklch(40% 0.143 270.2)
XYZxyz(7.9721, 5.9788, 28.3320)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D93 #93822C
analogous
#2C7193 #2C3D93 #4E2C93
triadic
#2C3D93 #932C3D #3D932C
tetradic
#2C3D93 #932C71 #93822C #2C934E
square
#2C3D93 #932C71 #93822C #2C934E
split-complementary
#2C3D93 #934E2C #71932C
monochromatic
#101635 #1E2964 #2C3D93 #3A51C2 #6879D2

Accessibility & contrast

On white

9.56
#2C3D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C3D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D93
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D93#FFFFFF#000000##FFFFFF
##2C3D931.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A96
Deuteranopia (green-blind)
#004191
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c3d93;
/* rgb */ color: rgb(44, 61, 147);
/* oklch */ color: oklch(40.0% 0.143 270.2);
Tailwind
colors: {
  custom: {
    50: '#7372b3',
    500: '#2c3d93',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d93;
$custom-light: #7372b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d93",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 147
  },
  "hsl": {
    "h": 230.097,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39999,
    "c": 0.14252,
    "h": 270.2
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#2C3D93
secondary
#B8AA63
accent
#C54ADD
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3D93

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

Preview Lab → · Contrast checker → · Palette generator →

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