#2B309C#2B309C

#2B309C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.171 H 272.9°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#2B309C
RGBrgb(43, 48, 156)
HSLhsl(237, 57%, 39%)
HSVhsv(237, 72%, 61%)
CMYKcmyk(72.4%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.81, 35.06, -59.15)
CIE-LCHlch(26.81, 68.76, 300.66°)
OKLaboklab(38.35% 0.0088 -0.171)
OKLCHoklch(38.35% 0.171 272.9)
XYZxyz(8.0520, 5.0270, 31.9920)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B309C #9C972B
analogous
#2B699C #2B309C #5F2B9C
triadic
#2B309C #9C2B30 #309C2B
tetradic
#2B309C #9C2B69 #9C972B #2B9C5F
square
#2B309C #9C2B69 #9C972B #2B9C5F
split-complementary
#2B309C #9C5F2B #699C2B
monochromatic
#11123C #1E216C #2B309C #3B41C9 #6B70D6

Accessibility & contrast

On white

10.47
#2B309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2B309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B309C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B309C#FFFFFF#000000##FFFFFF
##2B309C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2b309c;
/* rgb */ color: rgb(43, 48, 156);
/* oklch */ color: oklch(38.4% 0.171 272.9);
Tailwind
colors: {
  custom: {
    50: '#7569ba',
    500: '#2b309c',
    950: '#000000',
  },
}
SCSS
$custom: #2b309c;
$custom-light: #7569ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2b309c",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 237.345,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38353,
    "c": 0.17122,
    "h": 272.9
  },
  "luminance": 0.05028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B309C

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

Preview Lab → · Contrast checker → · Palette generator →

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