#2B267D#2B267D

#2B267D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.142 H 278.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#2B267D
RGBrgb(43, 38, 125)
HSLhsl(243, 53%, 32%)
HSVhsv(243, 70%, 49%)
CMYKcmyk(65.6%, 69.6%, 0%, 51%)
CIE-LABlab(21.51, 30.43, -48.58)
CIE-LCHlch(21.51, 57.32, 302.06°)
OKLaboklab(33.61% 0.02 -0.1401)
OKLCHoklch(33.61% 0.142 278.1)
XYZxyz(5.3899, 3.3801, 19.7664)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B267D #787D26
analogous
#264D7D #2B267D #57267D
triadic
#2B267D #7D2B26 #267D2B
tetradic
#2B267D #7D264D #787D26 #267D57
square
#2B267D #7D264D #787D26 #267D57
split-complementary
#2B267D #7D5726 #4D7D26
monochromatic
#0B091F #1B184E #2B267D #3B34AC #5A53CB

Accessibility & contrast

On white

12.53
#2B267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2B267D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B267D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B267D#FFFFFF#000000##FFFFFF
##2B267D1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2b267d;
/* rgb */ color: rgb(43, 38, 125);
/* oklch */ color: oklch(33.6% 0.142 278.1);
Tailwind
colors: {
  custom: {
    50: '#6f61a3',
    500: '#2b267d',
    950: '#000000',
  },
}
SCSS
$custom: #2b267d;
$custom-light: #6f61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b267d",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 243.448,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33612,
    "c": 0.14151,
    "h": 278.1
  },
  "luminance": 0.0338
}

Semantic roles & 50–950 ramp

primary
#2B267D
secondary
#AAAF50
accent
#DD4BD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B267D

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

Preview Lab → · Contrast checker → · Palette generator →

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