#2C2F90#2C2F90

#2C2F90 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.156 H 274.4°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2C2F90
RGBrgb(44, 47, 144)
HSLhsl(238, 53%, 37%)
HSVhsv(238, 69%, 56%)
CMYKcmyk(69.4%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.51, 31.54, -53.92)
CIE-LCHlch(25.51, 62.47, 300.33°)
OKLaboklab(37.08% 0.012 -0.1557)
OKLCHoklch(37.08% 0.156 274.4)
XYZxyz(7.0876, 4.5815, 26.8909)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F90 #908D2C
analogous
#2C6190 #2C2F90 #5B2C90
triadic
#2C2F90 #902C2F #2F902C
tetradic
#2C2F90 #902C61 #908D2C #2C905B
square
#2C2F90 #902C61 #908D2C #2C905B
split-complementary
#2C2F90 #905B2C #61902C
monochromatic
#0F1032 #1E2061 #2C2F90 #3A3EBF #6669D0

Accessibility & contrast

On white

10.96
#2C2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2C2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F90
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F90#FFFFFF#000000##FFFFFF
##2C2F901.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00388E
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2f90;
/* rgb */ color: rgb(44, 47, 144);
/* oklch */ color: oklch(37.1% 0.156 274.4);
Tailwind
colors: {
  custom: {
    50: '#7368b1',
    500: '#2c2f90',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f90;
$custom-light: #7368b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f90",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 238.2,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.15613,
    "h": 274.4
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2C2F90
secondary
#B7B461
accent
#D84BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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