#2F2B85#2F2B85

#2F2B85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.5% C 0.145 H 278.0°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2F2B85
RGBrgb(47, 43, 133)
HSLhsl(243, 51%, 35%)
HSVhsv(243, 68%, 52%)
CMYKcmyk(64.7%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.75, 30.66, -49.93)
CIE-LCHlch(23.75, 58.59, 301.55°)
OKLaboklab(35.55% 0.0202 -0.1439)
OKLCHoklch(35.55% 0.145 278)
XYZxyz(6.2684, 4.0251, 22.6323)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2B85 #81852B
analogous
#2B5485 #2F2B85 #5C2B85
triadic
#2F2B85 #852F2B #2B852F
tetradic
#2F2B85 #852B54 #81852B #2B855C
square
#2F2B85 #852B54 #81852B #2B855C
split-complementary
#2F2B85 #855C2B #54852B
monochromatic
#0E0D29 #1F1C57 #2F2B85 #3F3AB3 #645FCB

Accessibility & contrast

On white

11.63
#2F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2F2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2B85
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2B85#FFFFFF#000000##FFFFFF
##2F2B851.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2b85;
/* rgb */ color: rgb(47, 43, 133);
/* oklch */ color: oklch(35.5% 0.145 278.0);
Tailwind
colors: {
  custom: {
    50: '#7265a9',
    500: '#2f2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2f2b85;
$custom-light: #7265a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2b85",
  "rgb": {
    "r": 47,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 242.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.3555,
    "c": 0.14533,
    "h": 278
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#2F2B85
secondary
#ADB15B
accent
#DB4DD4
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2F2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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