#2B249E#2B249E

#2B249E is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.186 H 274.7°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2B249E
RGBrgb(43, 36, 158)
HSLhsl(243, 63%, 38%)
HSVhsv(243, 77%, 62%)
CMYKcmyk(72.8%, 77.2%, 0%, 38%)
CIE-LABlab(24.46, 42.85, -64.24)
CIE-LCHlch(24.46, 77.23, 303.71°)
OKLaboklab(36.74% 0.0151 -0.1858)
OKLCHoklch(36.74% 0.186 274.7)
XYZxyz(7.7966, 4.2432, 32.7493)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B249E #979E24
analogous
#245A9E #2B249E #68249E
triadic
#2B249E #9E2B24 #249E2B
tetradic
#2B249E #9E245A #979E24 #249E68
square
#2B249E #9E245A #979E24 #249E68
split-complementary
#2B249E #9E6824 #5A9E24
monochromatic
#100D3A #1D196C #2B249E #392FD0 #6861DB

Accessibility & contrast

On white

11.36
#2B249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2B249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B249E
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B249E#FFFFFF#000000##FFFFFF
##2B249E1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#004860
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2b249e;
/* rgb */ color: rgb(43, 36, 158);
/* oklch */ color: oklch(36.7% 0.186 274.7);
Tailwind
colors: {
  custom: {
    50: '#7761bc',
    500: '#2b249e',
    950: '#000000',
  },
}
SCSS
$custom: #2b249e;
$custom-light: #7761bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b249e",
  "rgb": {
    "r": 43,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 243.443,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36736,
    "c": 0.18642,
    "h": 274.7
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#2B249E
secondary
#BBC05E
accent
#E642DD
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2B249E

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

Preview Lab → · Contrast checker → · Palette generator →

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