#2C2F93#2C2F93

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

Color values

HEX#2C2F93
RGBrgb(44, 47, 147)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(70.1%, 68%, 0%, 42.4%)
CIE-LABlab(25.79, 32.62, -55.31)
CIE-LCHlch(25.79, 64.21, 300.53°)
OKLaboklab(37.37% 0.0117 -0.1597)
OKLCHoklch(37.37% 0.16 274.2)
XYZxyz(7.3199, 4.6744, 28.1146)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F93 #93902C
analogous
#2C6393 #2C2F93 #5C2C93
triadic
#2C2F93 #932C2F #2F932C
tetradic
#2C2F93 #932C63 #93902C #2C935C
square
#2C2F93 #932C63 #93902C #2C935C
split-complementary
#2C2F93 #935C2C #63932C
monochromatic
#101135 #1E2064 #2C2F93 #3A3EC2 #686BD2

Accessibility & contrast

On white

10.85
#2C2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2F93
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F93#FFFFFF#000000##FFFFFF
##2C2F931.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004296
Deuteranopia (green-blind)
#003891
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c2f93;
/* rgb */ color: rgb(44, 47, 147);
/* oklch */ color: oklch(37.4% 0.160 274.2);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2c2f93',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f93;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f93",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 238.252,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37367,
    "c": 0.16017,
    "h": 274.2
  },
  "luminance": 0.04675
}

Semantic roles & 50–950 ramp

primary
#2C2F93
secondary
#B8B663
accent
#D94ADD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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