#2B309F#2B309F

#2B309F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.175 H 272.7°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2B309F
RGBrgb(43, 48, 159)
HSLhsl(237, 57%, 40%)
HSVhsv(237, 73%, 62%)
CMYKcmyk(73%, 69.8%, 0%, 37.6%)
CIE-LABlab(27.10, 36.13, -60.50)
CIE-LCHlch(27.10, 70.46, 300.84°)
OKLaboklab(38.65% 0.0084 -0.1749)
OKLCHoklch(38.65% 0.175 272.7)
XYZxyz(8.3091, 5.1299, 33.3464)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B309F #9F9A2B
analogous
#2B6A9F #2B309F #602B9F
triadic
#2B309F #9F2B30 #309F2B
tetradic
#2B309F #9F2B6A #9F9A2B #2B9F60
square
#2B309F #9F2B6A #9F9A2B #2B9F60
split-complementary
#2B309F #9F602B #6A9F2B
monochromatic
#11133F #1E216F #2B309F #3D43CA #6D72D7

Accessibility & contrast

On white

10.36
#2B309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2B309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B309F
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B309F#FFFFFF#000000##FFFFFF
##2B309F1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b309f;
/* rgb */ color: rgb(43, 48, 159);
/* oklch */ color: oklch(38.7% 0.175 272.7);
Tailwind
colors: {
  custom: {
    50: '#7669bc',
    500: '#2b309f',
    950: '#000000',
  },
}
SCSS
$custom: #2b309f;
$custom-light: #7669bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b309f",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 237.414,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38651,
    "c": 0.17514,
    "h": 272.7
  },
  "luminance": 0.05131
}

Semantic roles & 50–950 ramp

primary
#2B309F
secondary
#BEBB67
accent
#DA47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2B309F

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

Preview Lab → · Contrast checker → · Palette generator →

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