#2C3FB6#2C3FB6

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

Color values

HEX#2C3FB6
RGBrgb(44, 63, 182)
HSLhsl(232, 61%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(75.8%, 65.4%, 0%, 28.6%)
CIE-LABlab(32.85, 35.00, -64.86)
CIE-LCHlch(32.85, 73.70, 298.35°)
OKLaboklab(43.5% -0.0016 -0.1876)
OKLCHoklch(43.5% 0.188 269.5)
XYZxyz(11.2568, 7.4667, 45.0948)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FB6 #B6A32C
analogous
#2C84B6 #2C3FB6 #5E2CB6
triadic
#2C3FB6 #B62C3F #3FB62C
tetradic
#2C3FB6 #B62C84 #B6A32C #2CB65E
square
#2C3FB6 #B62C84 #B6A32C #2CB65E
split-complementary
#2C3FB6 #B65E2C #84B62C
monochromatic
#141D53 #202E85 #2C3FB6 #4C5ED4 #7D8AE0

Accessibility & contrast

On white

8.42
#2C3FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3FB6
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FB6#FFFFFF#000000##FFFFFF
##2C3FB61.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c3fb6;
/* rgb */ color: rgb(44, 63, 182);
/* oklch */ color: oklch(43.5% 0.188 269.5);
Tailwind
colors: {
  custom: {
    50: '#7b74cd',
    500: '#2c3fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fb6;
$custom-light: #7b74cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fb6",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 182
  },
  "hsl": {
    "h": 231.739,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.18763,
    "h": 269.5
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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