#2C3FB7#2C3FB7

#2C3FB7 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.6% C 0.189 H 269.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2C3FB7
RGBrgb(44, 63, 183)
HSLhsl(232, 61%, 45%)
HSVhsv(232, 76%, 72%)
CMYKcmyk(76%, 65.6%, 0%, 28.2%)
CIE-LABlab(32.94, 35.36, -65.31)
CIE-LCHlch(32.94, 74.26, 298.43°)
OKLaboklab(43.6% -0.0017 -0.1889)
OKLCHoklch(43.6% 0.189 269.5)
XYZxyz(11.3605, 7.5081, 45.6411)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FB7 #B7A42C
analogous
#2C84B7 #2C3FB7 #5F2CB7
triadic
#2C3FB7 #B72C3F #3FB72C
tetradic
#2C3FB7 #B72C84 #B7A42C #2CB75F
square
#2C3FB7 #B72C84 #B7A42C #2CB75F
split-complementary
#2C3FB7 #B75F2C #84B72C
monochromatic
#141D54 #202E86 #2C3FB7 #4C5FD4 #7E8BE0

Accessibility & contrast

On white

8.39
#2C3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FB7
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FB7#FFFFFF#000000##FFFFFF
##2C3FB71.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c3fb7;
/* rgb */ color: rgb(44, 63, 183);
/* oklch */ color: oklch(43.6% 0.189 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b74ce',
    500: '#2c3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fb7;
$custom-light: #7b74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fb7",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 231.799,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.18893,
    "h": 269.5
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#2C3FB7
secondary
#C8BD76
accent
#CE43E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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