#2C3294#2C3294

#2C3294 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.0% C 0.158 H 273.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#2C3294
RGBrgb(44, 50, 148)
HSLhsl(237, 54%, 38%)
HSVhsv(237, 70%, 58%)
CMYKcmyk(70.3%, 66.2%, 0%, 42%)
CIE-LABlab(26.60, 31.04, -54.59)
CIE-LCHlch(26.60, 62.80, 299.62°)
OKLaboklab(37.99% 0.0094 -0.1576)
OKLCHoklch(37.99% 0.158 273.4)
XYZxyz(7.5228, 4.9541, 28.5710)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3294 #948E2C
analogous
#2C6694 #2C3294 #5A2C94
triadic
#2C3294 #942C32 #32942C
tetradic
#2C3294 #942C66 #948E2C #2C945A
square
#2C3294 #942C66 #948E2C #2C945A
split-complementary
#2C3294 #945A2C #66942C
monochromatic
#101236 #1E2265 #2C3294 #3A42C3 #686ED2

Accessibility & contrast

On white

10.55
#2C3294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C3294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3294
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3294#FFFFFF#000000##FFFFFF
##2C32941.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3294;
/* rgb */ color: rgb(44, 50, 148);
/* oklch */ color: oklch(38.0% 0.158 273.4);
Tailwind
colors: {
  custom: {
    50: '#746ab4',
    500: '#2c3294',
    950: '#000000',
  },
}
SCSS
$custom: #2c3294;
$custom-light: #746ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3294",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 148
  },
  "hsl": {
    "h": 236.538,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3799,
    "c": 0.1579,
    "h": 273.4
  },
  "luminance": 0.04955
}

Semantic roles & 50–950 ramp

primary
#2C3294
secondary
#B9B463
accent
#D54ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3294

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

Preview Lab → · Contrast checker → · Palette generator →

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