#2C3094#2C3094

#2C3094 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.160 H 273.9°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#2C3094
RGBrgb(44, 48, 148)
HSLhsl(238, 54%, 38%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(70.3%, 67.6%, 0%, 42%)
CIE-LABlab(26.12, 32.33, -55.38)
CIE-LCHlch(26.12, 64.13, 300.28°)
OKLaboklab(37.64% 0.0108 -0.1599)
OKLCHoklch(37.64% 0.16 273.9)
XYZxyz(7.4392, 4.7868, 28.5431)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3094 #94902C
analogous
#2C6494 #2C3094 #5C2C94
triadic
#2C3094 #942C30 #30942C
tetradic
#2C3094 #942C64 #94902C #2C945C
square
#2C3094 #942C64 #94902C #2C945C
split-complementary
#2C3094 #945C2C #64942C
monochromatic
#101136 #1E2165 #2C3094 #3A3FC3 #686CD2

Accessibility & contrast

On white

10.73
#2C3094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C3094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3094
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3094#FFFFFF#000000##FFFFFF
##2C30941.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003992
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3094;
/* rgb */ color: rgb(44, 48, 148);
/* oklch */ color: oklch(37.6% 0.160 273.9);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2c3094',
    950: '#000000',
  },
}
SCSS
$custom: #2c3094;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3094",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 148
  },
  "hsl": {
    "h": 237.692,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.16032,
    "h": 273.9
  },
  "luminance": 0.04787
}

Semantic roles & 50–950 ramp

primary
#2C3094
secondary
#B9B563
accent
#D84ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3094

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

Preview Lab → · Contrast checker → · Palette generator →

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