#2F2A90#2F2A90

#2F2A90 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.161 H 276.9°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#2F2A90
RGBrgb(47, 42, 144)
HSLhsl(243, 55%, 36%)
HSVhsv(243, 71%, 56%)
CMYKcmyk(67.4%, 70.8%, 0%, 43.5%)
CIE-LABlab(24.56, 35.10, -55.47)
CIE-LCHlch(24.56, 65.64, 302.33°)
OKLaboklab(36.45% 0.0195 -0.1601)
OKLCHoklch(36.45% 0.161 276.9)
XYZxyz(7.0327, 4.2733, 26.8344)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2A90 #8B902A
analogous
#2A5890 #2F2A90 #622A90
triadic
#2F2A90 #902F2A #2A902F
tetradic
#2F2A90 #902A58 #8B902A #2A9062
square
#2F2A90 #902A58 #8B902A #2A9062
split-complementary
#2F2A90 #90622A #58902A
monochromatic
#100E31 #201C61 #2F2A90 #3E38BF #6863D1

Accessibility & contrast

On white

11.32
#2F2A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F2A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2A90
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2A90#FFFFFF#000000##FFFFFF
##2F2A901.0011.321.8511.32
#FFFFFF11.321.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00368E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2a90;
/* rgb */ color: rgb(47, 42, 144);
/* oklch */ color: oklch(36.4% 0.161 276.9);
Tailwind
colors: {
  custom: {
    50: '#7564b2',
    500: '#2f2a90',
    950: '#000000',
  },
}
SCSS
$custom: #2f2a90;
$custom-light: #7564b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2a90",
  "rgb": {
    "r": 47,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 242.941,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36445,
    "c": 0.16132,
    "h": 276.9
  },
  "luminance": 0.04274
}

Semantic roles & 50–950 ramp

primary
#2F2A90
secondary
#B3B75E
accent
#DE4AD7
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2F2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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