#2B2F7E#2B2F7E

#2B2F7E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.131 H 275.2°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2B2F7E
RGBrgb(43, 47, 126)
HSLhsl(237, 49%, 33%)
HSVhsv(237, 66%, 49%)
CMYKcmyk(65.9%, 62.7%, 0%, 50.6%)
CIE-LABlab(23.84, 24.85, -45.39)
CIE-LCHlch(23.84, 51.75, 298.70°)
OKLaboklab(35.35% 0.0119 -0.1307)
OKLCHoklch(35.35% 0.131 275.2)
XYZxyz(5.7774, 4.0525, 20.2124)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F7E #7E7A2B
analogous
#2B587E #2B2F7E #502B7E
triadic
#2B2F7E #7E2B2F #2F7E2B
tetradic
#2B2F7E #7E2B58 #7E7A2B #2B7E50
square
#2B2F7E #7E2B58 #7E7A2B #2B7E50
split-complementary
#2B2F7E #7E502B #587E2B
monochromatic
#0C0D23 #1B1E50 #2B2F7E #3B40AC #5C61C7

Accessibility & contrast

On white

11.60
#2B2F7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F7E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F7E#FFFFFF#000000##FFFFFF
##2B2F7E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2f7e;
/* rgb */ color: rgb(43, 47, 126);
/* oklch */ color: oklch(35.3% 0.131 275.2);
Tailwind
colors: {
  custom: {
    50: '#6f67a4',
    500: '#2b2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f7e;
$custom-light: #6f67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f7e",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 237.108,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35348,
    "c": 0.13123,
    "h": 275.2
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#2B2F7E
secondary
#ADA958
accent
#D24FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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