#2C3892#2C3892

#2C3892 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.148 H 271.8°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2C3892
RGBrgb(44, 56, 146)
HSLhsl(233, 54%, 37%)
HSVhsv(233, 70%, 57%)
CMYKcmyk(69.9%, 61.6%, 0%, 42.7%)
CIE-LABlab(27.95, 26.34, -51.16)
CIE-LCHlch(27.95, 57.54, 297.25°)
OKLaboklab(38.92% 0.0047 -0.1475)
OKLCHoklch(38.92% 0.148 271.8)
XYZxyz(7.6394, 5.4384, 27.8357)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3892 #92862C
analogous
#2C6B92 #2C3892 #532C92
triadic
#2C3892 #922C38 #38922C
tetradic
#2C3892 #922C6B #92862C #2C9253
square
#2C3892 #922C6B #92862C #2C9253
split-complementary
#2C3892 #92532C #6B922C
monochromatic
#101434 #1E2663 #2C3892 #3A4AC1 #6774D1

Accessibility & contrast

On white

10.06
#2C3892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2C3892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3892
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3892#FFFFFF#000000##FFFFFF
##2C38921.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004795
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3892;
/* rgb */ color: rgb(44, 56, 146);
/* oklch */ color: oklch(38.9% 0.148 271.8);
Tailwind
colors: {
  custom: {
    50: '#736eb3',
    500: '#2c3892',
    950: '#000000',
  },
}
SCSS
$custom: #2c3892;
$custom-light: #736eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3892",
  "rgb": {
    "r": 44,
    "g": 56,
    "b": 146
  },
  "hsl": {
    "h": 232.941,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38925,
    "c": 0.14759,
    "h": 271.8
  },
  "luminance": 0.05439
}

Semantic roles & 50–950 ramp

primary
#2C3892
secondary
#B8AE62
accent
#CC4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3892

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

Preview Lab → · Contrast checker → · Palette generator →

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