#2B2F81#2B2F81

#2B2F81 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.136 H 275.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2B2F81
RGBrgb(43, 47, 129)
HSLhsl(237, 50%, 34%)
HSVhsv(237, 67%, 51%)
CMYKcmyk(66.7%, 63.6%, 0%, 49.4%)
CIE-LABlab(24.10, 25.95, -46.87)
CIE-LCHlch(24.10, 53.57, 298.97°)
OKLaboklab(35.62% 0.0118 -0.135)
OKLCHoklch(35.62% 0.136 275)
XYZxyz(5.9739, 4.1311, 21.2472)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F81 #817D2B
analogous
#2B5A81 #2B2F81 #522B81
triadic
#2B2F81 #812B2F #2F812B
tetradic
#2B2F81 #812B5A #817D2B #2B8152
square
#2B2F81 #812B5A #817D2B #2B8152
split-complementary
#2B2F81 #81522B #5A812B
monochromatic
#0C0E25 #1C1E53 #2B2F81 #3A40AF #5D62C9

Accessibility & contrast

On white

11.50
#2B2F81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2B2F81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2F81
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F81#FFFFFF#000000##FFFFFF
##2B2F811.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00367F
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2f81;
/* rgb */ color: rgb(43, 47, 129);
/* oklch */ color: oklch(35.6% 0.136 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f67a6',
    500: '#2b2f81',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f81;
$custom-light: #6f67a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f81",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 129
  },
  "hsl": {
    "h": 237.209,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.35616,
    "c": 0.13554,
    "h": 275
  },
  "luminance": 0.04132
}

Semantic roles & 50–950 ramp

primary
#2B2F81
secondary
#AFAB59
accent
#D34EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2F81

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

Preview Lab → · Contrast checker → · Palette generator →

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