#2B2364#2B2364

#2B2364 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.7% C 0.110 H 283.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#2B2364
RGBrgb(43, 35, 100)
HSLhsl(247, 48%, 26%)
HSVhsv(247, 65%, 39%)
CMYKcmyk(57%, 65%, 0%, 60.8%)
CIE-LABlab(18.52, 23.61, -37.31)
CIE-LCHlch(18.52, 44.16, 302.33°)
OKLaboklab(30.74% 0.0255 -0.107)
OKLCHoklch(30.74% 0.11 283.4)
XYZxyz(3.8968, 2.6355, 12.3575)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B2364 #5C6423
analogous
#233C64 #2B2364 #4C2364
triadic
#2B2364 #642B23 #23642B
tetradic
#2B2364 #64233C #5C6423 #23644C
square
#2B2364 #64233C #5C6423 #23644C
split-complementary
#2B2364 #644C23 #3C6423
monochromatic
#0A0817 #181337 #2B2364 #3E3391 #5344BE

Accessibility & contrast

On white

13.75
#2B2364 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#2B2364 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B2364
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B2364#FFFFFF#000000##FFFFFF
##2B23641.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#12333F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2b2364;
/* rgb */ color: rgb(43, 35, 100);
/* oklch */ color: oklch(30.7% 0.110 283.4);
Tailwind
colors: {
  custom: {
    50: '#6a5e91',
    500: '#2b2364',
    950: '#000000',
  },
}
SCSS
$custom: #2b2364;
$custom-light: #6a5e91;
$custom-dark: #000000;
JSON
{
  "hex": "#2b2364",
  "rgb": {
    "r": 43,
    "g": 35,
    "b": 100
  },
  "hsl": {
    "h": 247.385,
    "s": 48.148,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30743,
    "c": 0.11002,
    "h": 283.4
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#2B2364
secondary
#8E984B
accent
#D850C7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07040D
muted
#7A797D

Preview Lab

Preview with #2B2364

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

Preview Lab → · Contrast checker → · Palette generator →

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