#2B2F91#2B2F91

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

Color values

HEX#2B2F91
RGBrgb(43, 47, 145)
HSLhsl(238, 54%, 37%)
HSVhsv(238, 70%, 57%)
CMYKcmyk(70.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.53, 31.77, -54.49)
CIE-LCHlch(25.53, 63.08, 300.24°)
OKLaboklab(37.11% 0.0106 -0.1574)
OKLCHoklch(37.11% 0.158 273.9)
XYZxyz(7.1219, 4.5903, 27.2933)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F91 #918D2B
analogous
#2B6291 #2B2F91 #5A2B91
triadic
#2B2F91 #912B2F #2F912B
tetradic
#2B2F91 #912B62 #918D2B #2B915A
square
#2B2F91 #912B62 #918D2B #2B915A
split-complementary
#2B2F91 #915A2B #62912B
monochromatic
#0F1033 #1D2062 #2B2F91 #393EC0 #6569D1

Accessibility & contrast

On white

10.95
#2B2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F91
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F91#FFFFFF#000000##FFFFFF
##2B2F911.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b2f91;
/* rgb */ color: rgb(43, 47, 145);
/* oklch */ color: oklch(37.1% 0.158 273.9);
Tailwind
colors: {
  custom: {
    50: '#7368b2',
    500: '#2b2f91',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f91;
$custom-light: #7368b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f91",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 237.647,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.37109,
    "c": 0.15774,
    "h": 273.9
  },
  "luminance": 0.04591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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