#2C2E8F#2C2E8F

#2C2E8F is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.156 H 274.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#2C2E8F
RGBrgb(44, 46, 143)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 69%, 56%)
CMYKcmyk(69.2%, 67.8%, 0%, 43.9%)
CIE-LABlab(25.17, 31.83, -53.84)
CIE-LCHlch(25.17, 62.55, 300.59°)
OKLaboklab(36.81% 0.0128 -0.1555)
OKLCHoklch(36.81% 0.156 274.7)
XYZxyz(6.9720, 4.4720, 26.4770)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E8F #8F8D2C
analogous
#2C608F #2C2E8F #5C2C8F
triadic
#2C2E8F #8F2C2E #2E8F2C
tetradic
#2C2E8F #8F2C60 #8F8D2C #2C8F5C
square
#2C2E8F #8F2C60 #8F8D2C #2C8F5C
split-complementary
#2C2E8F #8F5C2C #608F2C
monochromatic
#0F1031 #1E1F60 #2C2E8F #3A3DBE #6668D0

Accessibility & contrast

On white

11.08
#2C2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E8F
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E8F#FFFFFF#000000##FFFFFF
##2C2E8F1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2e8f;
/* rgb */ color: rgb(44, 46, 143);
/* oklch */ color: oklch(36.8% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#7367b1',
    500: '#2c2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e8f;
$custom-light: #7367b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e8f",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 238.788,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36808,
    "c": 0.15599,
    "h": 274.7
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#2C2E8F
secondary
#B6B561
accent
#D94BDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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