#2C3FB5#2C3FB5

#2C3FB5 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.186 H 269.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2C3FB5
RGBrgb(44, 63, 181)
HSLhsl(232, 61%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(75.7%, 65.2%, 0%, 29%)
CIE-LABlab(32.76, 34.63, -64.42)
CIE-LCHlch(32.76, 73.14, 298.27°)
OKLaboklab(43.41% -0.0016 -0.1863)
OKLCHoklch(43.41% 0.186 269.5)
XYZxyz(11.1538, 7.4255, 44.5525)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FB5 #B5A22C
analogous
#2C84B5 #2C3FB5 #5E2CB5
triadic
#2C3FB5 #B52C3F #3FB52C
tetradic
#2C3FB5 #B52C84 #B5A22C #2CB55E
square
#2C3FB5 #B52C84 #B5A22C #2CB55E
split-complementary
#2C3FB5 #B55E2C #84B52C
monochromatic
#141D53 #202E84 #2C3FB5 #4B5ED3 #7C8ADF

Accessibility & contrast

On white

8.45
#2C3FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2C3FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FB5
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FB5#FFFFFF#000000##FFFFFF
##2C3FB51.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0047B3
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c3fb5;
/* rgb */ color: rgb(44, 63, 181);
/* oklch */ color: oklch(43.4% 0.186 269.5);
Tailwind
colors: {
  custom: {
    50: '#7a74cc',
    500: '#2c3fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fb5;
$custom-light: #7a74cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fb5",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 181
  },
  "hsl": {
    "h": 231.679,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43407,
    "c": 0.18633,
    "h": 269.5
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#2C3FB5
secondary
#C8BC75
accent
#CE44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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