#2C2F94#2C2F94

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

Color values

HEX#2C2F94
RGBrgb(44, 47, 148)
HSLhsl(238, 54%, 38%)
HSVhsv(238, 70%, 58%)
CMYKcmyk(70.3%, 68.2%, 0%, 42%)
CIE-LABlab(25.88, 32.97, -55.77)
CIE-LCHlch(25.88, 64.79, 300.59°)
OKLaboklab(37.46% 0.0115 -0.1611)
OKLCHoklch(37.46% 0.162 274.1)
XYZxyz(7.3987, 4.7059, 28.5297)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F94 #94912C
analogous
#2C6394 #2C2F94 #5D2C94
triadic
#2C2F94 #942C2F #2F942C
tetradic
#2C2F94 #942C63 #94912C #2C945D
square
#2C2F94 #942C63 #94912C #2C945D
split-complementary
#2C2F94 #945D2C #63942C
monochromatic
#101136 #1E2065 #2C2F94 #3A3EC3 #686BD2

Accessibility & contrast

On white

10.82
#2C2F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2F94
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F94#FFFFFF#000000##FFFFFF
##2C2F941.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2f94;
/* rgb */ color: rgb(44, 47, 148);
/* oklch */ color: oklch(37.5% 0.162 274.1);
Tailwind
colors: {
  custom: {
    50: '#7468b4',
    500: '#2c2f94',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f94;
$custom-light: #7468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f94",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 238.269,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37463,
    "c": 0.16151,
    "h": 274.1
  },
  "luminance": 0.04707
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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