#2B30B8#2B30B8

#2B30B8 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.2% C 0.207 H 271.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2B30B8
RGBrgb(43, 48, 184)
HSLhsl(238, 62%, 45%)
HSVhsv(238, 77%, 72%)
CMYKcmyk(76.6%, 73.9%, 0%, 27.8%)
CIE-LABlab(29.63, 44.76, -71.34)
CIE-LCHlch(29.63, 84.22, 302.10°)
OKLaboklab(41.22% 0.0048 -0.2065)
OKLCHoklch(41.22% 0.207 271.3)
XYZxyz(10.7020, 6.0870, 45.9490)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30B8 #B8B32B
analogous
#2B77B8 #2B30B8 #6C2BB8
triadic
#2B30B8 #B82B30 #30B82B
tetradic
#2B30B8 #B82B77 #B8B32B #2BB86C
square
#2B30B8 #B82B77 #B8B32B #2BB86C
split-complementary
#2B30B8 #B86C2B #77B82B
monochromatic
#141655 #1F2386 #2B30B8 #4B50D5 #7D80E1

Accessibility & contrast

On white

9.47
#2B30B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B30B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30B8
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30B8#FFFFFF#000000##FFFFFF
##2B30B81.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBC
Deuteranopia (green-blind)
#003FB6
Tritanopia (blue-blind)
#005771
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b30b8;
/* rgb */ color: rgb(43, 48, 184);
/* oklch */ color: oklch(41.2% 0.207 271.3);
Tailwind
colors: {
  custom: {
    50: '#7c6acf',
    500: '#2b30b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b30b8;
$custom-light: #7c6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30b8",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 237.872,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.20661,
    "h": 271.3
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#2B30B8
secondary
#C9C676
accent
#DF43E5
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2B30B8

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

Preview Lab → · Contrast checker → · Palette generator →

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