#2B308D#2B308D

#2B308D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.151 H 273.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#2B308D
RGBrgb(43, 48, 141)
HSLhsl(237, 53%, 36%)
HSVhsv(237, 70%, 55%)
CMYKcmyk(69.5%, 66%, 0%, 44.7%)
CIE-LABlab(25.41, 29.67, -52.22)
CIE-LCHlch(25.41, 60.06, 299.60°)
OKLaboklab(36.91% 0.0102 -0.1507)
OKLCHoklch(36.91% 0.151 273.9)
XYZxyz(6.8593, 4.5500, 25.7109)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B308D #8D882B
analogous
#2B618D #2B308D #572B8D
triadic
#2B308D #8D2B30 #308D2B
tetradic
#2B308D #8D2B61 #8D882B #2B8D57
square
#2B308D #8D2B61 #8D882B #2B8D57
split-complementary
#2B308D #8D572B #618D2B
monochromatic
#0E102F #1D205E #2B308D #3940BC #6369CF

Accessibility & contrast

On white

10.99
#2B308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2B308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B308D
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B308D#FFFFFF#000000##FFFFFF
##2B308D1.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2b308d;
/* rgb */ color: rgb(43, 48, 141);
/* oklch */ color: oklch(36.9% 0.151 273.9);
Tailwind
colors: {
  custom: {
    50: '#7268af',
    500: '#2b308d',
    950: '#000000',
  },
}
SCSS
$custom: #2b308d;
$custom-light: #7268af;
$custom-dark: #000000;
JSON
{
  "hex": "#2b308d",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 236.939,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36907,
    "c": 0.15106,
    "h": 273.9
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2B308D
secondary
#B6B15E
accent
#D54BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2B308D

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

Preview Lab → · Contrast checker → · Palette generator →

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