#2C3FB1#2C3FB1

#2C3FB1 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.181 H 269.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2C3FB1
RGBrgb(44, 63, 177)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 69%)
CMYKcmyk(75.1%, 64.4%, 0%, 30.6%)
CIE-LABlab(32.40, 33.18, -62.63)
CIE-LCHlch(32.40, 70.87, 297.91°)
OKLaboklab(43.04% -0.0014 -0.1811)
OKLCHoklch(43.04% 0.181 269.6)
XYZxyz(10.7493, 7.2637, 42.4220)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FB1 #B19E2C
analogous
#2C81B1 #2C3FB1 #5C2CB1
triadic
#2C3FB1 #B12C3F #3FB12C
tetradic
#2C3FB1 #B12C81 #B19E2C #2CB15C
square
#2C3FB1 #B12C81 #B19E2C #2CB15C
split-complementary
#2C3FB1 #B15C2C #81B12C
monochromatic
#141C4F #202E80 #2C3FB1 #495CD2 #7A88DE

Accessibility & contrast

On white

8.56
#2C3FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2C3FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FB1
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FB1#FFFFFF#000000##FFFFFF
##2C3FB11.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B5
Deuteranopia (green-blind)
#0046AF
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3fb1;
/* rgb */ color: rgb(44, 63, 177);
/* oklch */ color: oklch(43.0% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#7a74c9',
    500: '#2c3fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fb1;
$custom-light: #7a74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fb1",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 177
  },
  "hsl": {
    "h": 231.429,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.18108,
    "h": 269.6
  },
  "luminance": 0.07265
}

Semantic roles & 50–950 ramp

primary
#2C3FB1
secondary
#C6BA73
accent
#CD44E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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