#2B309A#2B309A

#2B309A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.169 H 273.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2B309A
RGBrgb(43, 48, 154)
HSLhsl(237, 56%, 39%)
HSVhsv(237, 72%, 60%)
CMYKcmyk(72.1%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.62, 34.35, -58.24)
CIE-LCHlch(26.62, 67.62, 300.53°)
OKLaboklab(38.16% 0.009 -0.1683)
OKLCHoklch(38.16% 0.169 273.1)
XYZxyz(7.8840, 4.9598, 31.1074)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B309A #9A952B
analogous
#2B679A #2B309A #5D2B9A
triadic
#2B309A #9A2B30 #309A2B
tetradic
#2B309A #9A2B67 #9A952B #2B9A5D
square
#2B309A #9A2B67 #9A952B #2B9A5D
split-complementary
#2B309A #9A5D2B #679A2B
monochromatic
#10123A #1E216A #2B309A #3A41C8 #6A6FD5

Accessibility & contrast

On white

10.54
#2B309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2B309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B309A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B309A#FFFFFF#000000##FFFFFF
##2B309A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b309a;
/* rgb */ color: rgb(43, 48, 154);
/* oklch */ color: oklch(38.2% 0.169 273.1);
Tailwind
colors: {
  custom: {
    50: '#7569b9',
    500: '#2b309a',
    950: '#000000',
  },
}
SCSS
$custom: #2b309a;
$custom-light: #7569b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b309a",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 237.297,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.16859,
    "h": 273.1
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#2B309A
secondary
#BCB865
accent
#D948E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B309A

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

Preview Lab → · Contrast checker → · Palette generator →

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