#2C3FB0#2C3FB0

#2C3FB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.180 H 269.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2C3FB0
RGBrgb(44, 63, 176)
HSLhsl(231, 60%, 43%)
HSVhsv(231, 75%, 69%)
CMYKcmyk(75%, 64.2%, 0%, 31%)
CIE-LABlab(32.31, 32.81, -62.18)
CIE-LCHlch(32.31, 70.30, 297.82°)
OKLaboklab(42.94% -0.0013 -0.1798)
OKLCHoklch(42.94% 0.18 269.6)
XYZxyz(10.6500, 7.2239, 41.8990)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FB0 #B09D2C
analogous
#2C81B0 #2C3FB0 #5B2CB0
triadic
#2C3FB0 #B02C3F #3FB02C
tetradic
#2C3FB0 #B02C81 #B09D2C #2CB05B
square
#2C3FB0 #B02C81 #B09D2C #2CB05B
split-complementary
#2C3FB0 #B05B2C #81B02C
monochromatic
#141C4E #202D7F #2C3FB0 #485CD1 #7987DD

Accessibility & contrast

On white

8.59
#2C3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2C3FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FB0
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FB0#FFFFFF#000000##FFFFFF
##2C3FB01.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2c3fb0;
/* rgb */ color: rgb(44, 63, 176);
/* oklch */ color: oklch(42.9% 0.180 269.6);
Tailwind
colors: {
  custom: {
    50: '#7974c9',
    500: '#2c3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fb0;
$custom-light: #7974c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fb0",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 231.364,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42944,
    "c": 0.17976,
    "h": 269.6
  },
  "luminance": 0.07225
}

Semantic roles & 50–950 ramp

primary
#2C3FB0
secondary
#C6BA72
accent
#CC45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2C3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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