#2C3FBB#2C3FBB

#2C3FBB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.194 H 269.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2C3FBB
RGBrgb(44, 63, 187)
HSLhsl(232, 62%, 45%)
HSVhsv(232, 76%, 73%)
CMYKcmyk(76.5%, 66.3%, 0%, 26.7%)
CIE-LABlab(33.30, 36.81, -67.07)
CIE-LCHlch(33.30, 76.51, 298.76°)
OKLaboklab(43.97% -0.0019 -0.1941)
OKLCHoklch(43.97% 0.194 269.4)
XYZxyz(11.7828, 7.6770, 47.8649)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3FBB #BBA82C
analogous
#2C86BB #2C3FBB #602CBB
triadic
#2C3FBB #BB2C3F #3FBB2C
tetradic
#2C3FBB #BB2C86 #BBA82C #2CBB60
square
#2C3FBB #BB2C86 #BBA82C #2CBB60
split-complementary
#2C3FBB #BB602C #86BB2C
monochromatic
#151E58 #202E89 #2C3FBB #4F61D6 #808DE1

Accessibility & contrast

On white

8.28
#2C3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2C3FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3FBB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3FBB#FFFFFF#000000##FFFFFF
##2C3FBB1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c3fbb;
/* rgb */ color: rgb(44, 63, 187);
/* oklch */ color: oklch(44.0% 0.194 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c74d1',
    500: '#2c3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c3fbb;
$custom-light: #7c74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3fbb",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 232.028,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43972,
    "c": 0.19409,
    "h": 269.4
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#2C3FBB
secondary
#CABF79
accent
#CF43E5
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2C3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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