#2C3095#2C3095

#2C3095 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.162 H 273.8°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C3095
RGBrgb(44, 48, 149)
HSLhsl(238, 54%, 38%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(70.5%, 67.8%, 0%, 41.6%)
CIE-LABlab(26.21, 32.69, -55.84)
CIE-LCHlch(26.21, 64.71, 300.34°)
OKLaboklab(37.73% 0.0107 -0.1613)
OKLCHoklch(37.73% 0.162 273.8)
XYZxyz(7.5187, 4.8186, 28.9618)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3095 #95912C
analogous
#2C6595 #2C3095 #5C2C95
triadic
#2C3095 #952C30 #30952C
tetradic
#2C3095 #952C65 #95912C #2C955C
square
#2C3095 #952C65 #95912C #2C955C
split-complementary
#2C3095 #955C2C #65952C
monochromatic
#101237 #1E2166 #2C3095 #3A3FC4 #696DD3

Accessibility & contrast

On white

10.69
#2C3095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3095
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3095#FFFFFF#000000##FFFFFF
##2C30951.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3095;
/* rgb */ color: rgb(44, 48, 149);
/* oklch */ color: oklch(37.7% 0.162 273.8);
Tailwind
colors: {
  custom: {
    50: '#7469b5',
    500: '#2c3095',
    950: '#000000',
  },
}
SCSS
$custom: #2c3095;
$custom-light: #7469b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3095",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 237.714,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37733,
    "c": 0.16167,
    "h": 273.8
  },
  "luminance": 0.04819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C3095

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

Preview Lab → · Contrast checker → · Palette generator →

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