#2C3F93#2C3F93

#2C3F93 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.140 H 269.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2C3F93
RGBrgb(44, 63, 147)
HSLhsl(229, 54%, 37%)
HSVhsv(229, 70%, 58%)
CMYKcmyk(70.1%, 57.1%, 0%, 42.4%)
CIE-LABlab(29.90, 22.00, -48.60)
CIE-LCHlch(29.90, 53.35, 294.36°)
OKLaboklab(40.41% -0.0012 -0.1399)
OKLCHoklch(40.41% 0.14 269.5)
XYZxyz(8.0809, 6.1963, 28.3682)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F93 #93802C
analogous
#2C7393 #2C3F93 #4C2C93
triadic
#2C3F93 #932C3F #3F932C
tetradic
#2C3F93 #932C73 #93802C #2C934C
square
#2C3F93 #932C73 #93802C #2C934C
split-complementary
#2C3F93 #934C2C #73932C
monochromatic
#101735 #1E2B64 #2C3F93 #3A53C2 #687BD2

Accessibility & contrast

On white

9.38
#2C3F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C3F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F93
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F93#FFFFFF#000000##FFFFFF
##2C3F931.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#004291
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3f93;
/* rgb */ color: rgb(44, 63, 147);
/* oklch */ color: oklch(40.4% 0.140 269.5);
Tailwind
colors: {
  custom: {
    50: '#7373b3',
    500: '#2c3f93',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f93;
$custom-light: #7373b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f93",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 147
  },
  "hsl": {
    "h": 228.932,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.1399,
    "h": 269.5
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#2C3F93
secondary
#B8A863
accent
#C24ADD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3F93

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

Preview Lab → · Contrast checker → · Palette generator →

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