#2B267B#2B267B

#2B267B is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.4% C 0.139 H 278.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2B267B
RGBrgb(43, 38, 123)
HSLhsl(244, 53%, 32%)
HSVhsv(244, 69%, 48%)
CMYKcmyk(65%, 69.1%, 0%, 51.8%)
CIE-LABlab(21.32, 29.73, -47.62)
CIE-LCHlch(21.32, 56.13, 301.98°)
OKLaboklab(33.42% 0.0203 -0.1373)
OKLCHoklch(33.42% 0.139 278.4)
XYZxyz(5.2634, 3.3295, 19.1003)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B267B #767B26
analogous
#264C7B #2B267B #56267B
triadic
#2B267B #7B2B26 #267B2B
tetradic
#2B267B #7B264C #767B26 #267B56
square
#2B267B #7B264C #767B26 #267B56
split-complementary
#2B267B #7B5626 #4C7B26
monochromatic
#0A091D #1B184C #2B267B #3B34AA #5952CA

Accessibility & contrast

On white

12.61
#2B267B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B267B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B267B
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B267B#FFFFFF#000000##FFFFFF
##2B267B1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b267b;
/* rgb */ color: rgb(43, 38, 123);
/* oklch */ color: oklch(33.4% 0.139 278.4);
Tailwind
colors: {
  custom: {
    50: '#6f61a2',
    500: '#2b267b',
    950: '#000000',
  },
}
SCSS
$custom: #2b267b;
$custom-light: #6f61a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b267b",
  "rgb": {
    "r": 43,
    "g": 38,
    "b": 123
  },
  "hsl": {
    "h": 243.529,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33418,
    "c": 0.13875,
    "h": 278.4
  },
  "luminance": 0.0333
}

Semantic roles & 50–950 ramp

primary
#2B267B
secondary
#A8AD50
accent
#DC4CD4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #2B267B

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

Preview Lab → · Contrast checker → · Palette generator →

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