#2B2F7D#2B2F7D

#2B2F7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.130 H 275.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#2B2F7D
RGBrgb(43, 47, 125)
HSLhsl(237, 49%, 33%)
HSVhsv(237, 66%, 49%)
CMYKcmyk(65.6%, 62.4%, 0%, 51%)
CIE-LABlab(23.76, 24.48, -44.90)
CIE-LCHlch(23.76, 51.14, 298.60°)
OKLaboklab(35.26% 0.012 -0.1292)
OKLCHoklch(35.26% 0.13 275.3)
XYZxyz(5.7132, 4.0268, 19.8742)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2F7D #7D792B
analogous
#2B587D #2B2F7D #502B7D
triadic
#2B2F7D #7D2B2F #2F7D2B
tetradic
#2B2F7D #7D2B58 #7D792B #2B7D50
square
#2B2F7D #7D2B58 #7D792B #2B7D50
split-complementary
#2B2F7D #7D502B #587D2B
monochromatic
#0C0D22 #1B1E4F #2B2F7D #3B40AB #5C61C7

Accessibility & contrast

On white

11.63
#2B2F7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B2F7D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2F7D#FFFFFF#000000##FFFFFF
##2B2F7D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2b2f7d;
/* rgb */ color: rgb(43, 47, 125);
/* oklch */ color: oklch(35.3% 0.130 275.3);
Tailwind
colors: {
  custom: {
    50: '#6e67a3',
    500: '#2b2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #2b2f7d;
$custom-light: #6e67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2f7d",
  "rgb": {
    "r": 43,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 237.073,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35259,
    "c": 0.12979,
    "h": 275.3
  },
  "luminance": 0.04027
}

Semantic roles & 50–950 ramp

primary
#2B2F7D
secondary
#ADA857
accent
#D24FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2B2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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