#2C3091#2C3091

#2C3091 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.4% C 0.156 H 274.1°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2C3091
RGBrgb(44, 48, 145)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 70%, 57%)
CMYKcmyk(69.7%, 66.9%, 0%, 43.1%)
CIE-LABlab(25.84, 31.26, -53.99)
CIE-LCHlch(25.84, 62.38, 300.07°)
OKLaboklab(37.35% 0.0111 -0.1559)
OKLCHoklch(37.35% 0.156 274.1)
XYZxyz(7.2048, 4.6930, 27.3087)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3091 #918D2C
analogous
#2C6391 #2C3091 #5B2C91
triadic
#2C3091 #912C30 #30912C
tetradic
#2C3091 #912C63 #918D2C #2C915B
square
#2C3091 #912C63 #918D2C #2C915B
split-complementary
#2C3091 #915B2C #63912C
monochromatic
#101133 #1E2062 #2C3091 #3A40C0 #676BD1

Accessibility & contrast

On white

10.83
#2C3091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C3091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3091
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3091#FFFFFF#000000##FFFFFF
##2C30911.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#00398F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c3091;
/* rgb */ color: rgb(44, 48, 145);
/* oklch */ color: oklch(37.4% 0.156 274.1);
Tailwind
colors: {
  custom: {
    50: '#7368b2',
    500: '#2c3091',
    950: '#000000',
  },
}
SCSS
$custom: #2c3091;
$custom-light: #7368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3091",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 145
  },
  "hsl": {
    "h": 237.624,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.3735,
    "c": 0.15627,
    "h": 274.1
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#2C3091
secondary
#B7B462
accent
#D74BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3091

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

Preview Lab → · Contrast checker → · Palette generator →

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