#2B2F92#2B2F92

#2B2F92 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.2% C 0.159 H 273.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2B2F92
RGBrgb(43, 47, 146)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 71%, 57%)
CMYKcmyk(70.5%, 67.8%, 0%, 42.7%)
CIE-LABlab(25.63, 32.13, -54.96)
CIE-LCHlch(25.63, 63.66, 300.31°)
OKLaboklab(37.21% 0.0105 -0.1587)
OKLCHoklch(37.21% 0.159 273.8)
XYZxyz(7.1994, 4.6213, 27.7011)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F92 #928E2B
analogous
#2B6392 #2B2F92 #5B2B92
triadic
#2B2F92 #922B2F #2F922B
tetradic
#2B2F92 #922B63 #928E2B #2B925B
square
#2B2F92 #922B63 #928E2B #2B925B
split-complementary
#2B2F92 #925B2B #63922B
monochromatic
#0F1133 #1D2063 #2B2F92 #393EC1 #666AD2

Accessibility & contrast

On white

10.91
#2B2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F92
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F92#FFFFFF#000000##FFFFFF
##2B2F921.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004195
Deuteranopia (green-blind)
#003890
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2b2f92;
/* rgb */ color: rgb(43, 47, 146);
/* oklch */ color: oklch(37.2% 0.159 273.8);
Tailwind
colors: {
  custom: {
    50: '#7368b3',
    500: '#2b2f92',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f92;
$custom-light: #7368b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f92",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 237.67,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37205,
    "c": 0.15909,
    "h": 273.8
  },
  "luminance": 0.04622
}

Semantic roles & 50–950 ramp

primary
#2B2F92
secondary
#B8B561
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2B2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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