#2B2F75#2B2F75

#2B2F75 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.6% C 0.118 H 275.8°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#2B2F75
RGBrgb(43, 47, 117)
HSLhsl(237, 46%, 31%)
HSVhsv(237, 63%, 46%)
CMYKcmyk(63.2%, 59.8%, 0%, 54.1%)
CIE-LABlab(23.10, 21.54, -40.88)
CIE-LCHlch(23.10, 46.21, 297.78°)
OKLaboklab(34.57% 0.012 -0.1174)
OKLCHoklch(34.57% 0.118 275.8)
XYZxyz(5.2226, 3.8306, 17.2903)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F75 #75712B
analogous
#2B5475 #2B2F75 #4C2B75
triadic
#2B2F75 #752B2F #2F752B
tetradic
#2B2F75 #752B54 #75712B #2B754C
square
#2B2F75 #752B54 #75712B #2B754C
split-complementary
#2B2F75 #754C2B #54752B
monochromatic
#0A0B1B #1B1D48 #2B2F75 #3B41A2 #595EC2

Accessibility & contrast

On white

11.89
#2B2F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2B2F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F75
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F75#FFFFFF#000000##FFFFFF
##2B2F751.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b2f75;
/* rgb */ color: rgb(43, 47, 117);
/* oklch */ color: oklch(34.6% 0.118 275.8);
Tailwind
colors: {
  custom: {
    50: '#6d679d',
    500: '#2b2f75',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f75;
$custom-light: #6d679d;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f75",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 117
  },
  "hsl": {
    "h": 236.757,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34566,
    "c": 0.11804,
    "h": 275.8
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#2B2F75
secondary
#A7A255
accent
#CF52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B2F75

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

Preview Lab → · Contrast checker → · Palette generator →

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