#2C3DBA#2C3DBA

#2C3DBA is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.195 H 269.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C3DBA
RGBrgb(44, 61, 186)
HSLhsl(233, 62%, 45%)
HSVhsv(233, 76%, 73%)
CMYKcmyk(76.3%, 67.2%, 0%, 27.1%)
CIE-LABlab(32.74, 37.70, -67.41)
CIE-LCHlch(32.74, 77.23, 299.22°)
OKLaboklab(43.53% -0.0007 -0.1951)
OKLCHoklch(43.53% 0.195 269.8)
XYZxyz(11.5673, 7.4169, 47.2668)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3DBA #BAA92C
analogous
#2C84BA #2C3DBA #622CBA
triadic
#2C3DBA #BA2C3D #3DBA2C
tetradic
#2C3DBA #BA2C84 #BAA92C #2CBA62
square
#2C3DBA #BA2C84 #BAA92C #2CBA62
split-complementary
#2C3DBA #BA622C #84BA2C
monochromatic
#151D57 #202D89 #2C3DBA #4E5ED5 #808BE1

Accessibility & contrast

On white

8.46
#2C3DBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C3DBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3DBA
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3DBA#FFFFFF#000000##FFFFFF
##2C3DBA1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c3dba;
/* rgb */ color: rgb(44, 61, 186);
/* oklch */ color: oklch(43.5% 0.195 269.8);
Tailwind
colors: {
  custom: {
    50: '#7c73d0',
    500: '#2c3dba',
    950: '#000000',
  },
}
SCSS
$custom: #2c3dba;
$custom-light: #7c73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3dba",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 186
  },
  "hsl": {
    "h": 232.817,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43533,
    "c": 0.19507,
    "h": 269.8
  },
  "luminance": 0.07418
}

Semantic roles & 50–950 ramp

primary
#2C3DBA
secondary
#CAC078
accent
#D143E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2C3DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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