#2B38B6#2B38B6

#2B38B6 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.196 H 270.4°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#2B38B6
RGBrgb(43, 56, 182)
HSLhsl(234, 62%, 44%)
HSVhsv(234, 76%, 71%)
CMYKcmyk(76.4%, 69.2%, 0%, 28.6%)
CIE-LABlab(31.16, 39.30, -67.64)
CIE-LCHlch(31.16, 78.23, 300.15°)
OKLaboklab(42.26% 0.0013 -0.1958)
OKLCHoklch(42.26% 0.196 270.4)
XYZxyz(10.8510, 6.7182, 44.9718)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B38B6 #B6A92B
analogous
#2B7EB6 #2B38B6 #632BB6
triadic
#2B38B6 #B62B38 #38B62B
tetradic
#2B38B6 #B62B7E #B6A92B #2BB663
square
#2B38B6 #B62B7E #B6A92B #2BB663
split-complementary
#2B38B6 #B6632B #7EB62B
monochromatic
#141A53 #1F2984 #2B38B6 #4A57D4 #7B85E0

Accessibility & contrast

On white

8.96
#2B38B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2B38B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B38B6
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B38B6#FFFFFF#000000##FFFFFF
##2B38B61.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BA
Deuteranopia (green-blind)
#0043B4
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b38b6;
/* rgb */ color: rgb(43, 56, 182);
/* oklch */ color: oklch(42.3% 0.196 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b6fcd',
    500: '#2b38b6',
    950: '#000000',
  },
}
SCSS
$custom: #2b38b6;
$custom-light: #7b6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b38b6",
  "rgb": {
    "r": 43,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 234.388,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42257,
    "c": 0.19578,
    "h": 270.4
  },
  "luminance": 0.06719
}

Semantic roles & 50–950 ramp

primary
#2B38B6
secondary
#C8C075
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B38B6

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

Preview Lab → · Contrast checker → · Palette generator →

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