#2C3BB8#2C3BB8

#2C3BB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.195 H 270.2°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2C3BB8
RGBrgb(44, 59, 184)
HSLhsl(234, 61%, 45%)
HSVhsv(234, 76%, 72%)
CMYKcmyk(76.1%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.09, 38.24, -67.30)
CIE-LCHlch(32.09, 77.40, 299.61°)
OKLaboklab(43% 0.0005 -0.1947)
OKLCHoklch(43% 0.195 270.2)
XYZxyz(11.2514, 7.1229, 46.1200)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3BB8 #B8A92C
analogous
#2C81B8 #2C3BB8 #632CB8
triadic
#2C3BB8 #B82C3B #3BB82C
tetradic
#2C3BB8 #B82C81 #B8A92C #2CB863
square
#2C3BB8 #B82C81 #B8A92C #2CB863
split-complementary
#2C3BB8 #B8632C #81B82C
monochromatic
#141B55 #202B87 #2C3BB8 #4D5BD4 #7E89E0

Accessibility & contrast

On white

8.66
#2C3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C3BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3BB8
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3BB8#FFFFFF#000000##FFFFFF
##2C3BB81.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c3bb8;
/* rgb */ color: rgb(44, 59, 184);
/* oklch */ color: oklch(43.0% 0.195 270.2);
Tailwind
colors: {
  custom: {
    50: '#7c71ce',
    500: '#2c3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2c3bb8;
$custom-light: #7c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3bb8",
  "rgb": {
    "r": 44,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 233.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43002,
    "c": 0.19475,
    "h": 270.2
  },
  "luminance": 0.07124
}

Semantic roles & 50–950 ramp

primary
#2C3BB8
secondary
#C9C077
accent
#D343E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2C3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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