#2C3097#2C3097

#2C3097 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.9% C 0.164 H 273.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2C3097
RGBrgb(44, 48, 151)
HSLhsl(238, 55%, 38%)
HSVhsv(238, 71%, 59%)
CMYKcmyk(70.9%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.40, 33.40, -56.77)
CIE-LCHlch(26.40, 65.86, 300.48°)
OKLaboklab(37.93% 0.0105 -0.164)
OKLCHoklch(37.93% 0.164 273.7)
XYZxyz(7.6797, 4.8830, 29.8099)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3097 #97932C
analogous
#2C6597 #2C3097 #5D2C97
triadic
#2C3097 #972C30 #30972C
tetradic
#2C3097 #972C65 #97932C #2C975D
square
#2C3097 #972C65 #97932C #2C975D
split-complementary
#2C3097 #975D2C #65972C
monochromatic
#101238 #1E2168 #2C3097 #3A40C6 #6A6ED4

Accessibility & contrast

On white

10.62
#2C3097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C3097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3097
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3097#FFFFFF#000000##FFFFFF
##2C30971.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c3097;
/* rgb */ color: rgb(44, 48, 151);
/* oklch */ color: oklch(37.9% 0.164 273.7);
Tailwind
colors: {
  custom: {
    50: '#7569b7',
    500: '#2c3097',
    950: '#000000',
  },
}
SCSS
$custom: #2c3097;
$custom-light: #7569b7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3097",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 237.757,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.37926,
    "c": 0.16434,
    "h": 273.7
  },
  "luminance": 0.04884
}

Semantic roles & 50–950 ramp

primary
#2C3097
secondary
#BAB765
accent
#D94ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3097

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

Preview Lab → · Contrast checker → · Palette generator →

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