#2C3F92#2C3F92

#2C3F92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.138 H 269.5°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2C3F92
RGBrgb(44, 63, 146)
HSLhsl(229, 54%, 37%)
HSVhsv(229, 70%, 57%)
CMYKcmyk(69.9%, 56.8%, 0%, 42.7%)
CIE-LABlab(29.82, 21.63, -48.11)
CIE-LCHlch(29.82, 52.75, 294.20°)
OKLaboklab(40.32% -0.0013 -0.1385)
OKLCHoklch(40.32% 0.138 269.5)
XYZxyz(8.0027, 6.1650, 27.9568)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3F92 #927F2C
analogous
#2C7292 #2C3F92 #4C2C92
triadic
#2C3F92 #922C3F #3F922C
tetradic
#2C3F92 #922C72 #927F2C #2C924C
square
#2C3F92 #922C72 #927F2C #2C924C
split-complementary
#2C3F92 #924C2C #72922C
monochromatic
#101634 #1E2B63 #2C3F92 #3A53C1 #677BD1

Accessibility & contrast

On white

9.40
#2C3F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C3F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3F92
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3F92#FFFFFF#000000##FFFFFF
##2C3F921.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005362
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c3f92;
/* rgb */ color: rgb(44, 63, 146);
/* oklch */ color: oklch(40.3% 0.138 269.5);
Tailwind
colors: {
  custom: {
    50: '#7273b3',
    500: '#2c3f92',
    950: '#000000',
  },
}
SCSS
$custom: #2c3f92;
$custom-light: #7273b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3f92",
  "rgb": {
    "r": 44,
    "g": 63,
    "b": 146
  },
  "hsl": {
    "h": 228.824,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.40323,
    "c": 0.13847,
    "h": 269.5
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#2C3F92
secondary
#B8A862
accent
#C24BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C3F92

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

Preview Lab → · Contrast checker → · Palette generator →

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