#2B30B1#2B30B1

#2B30B1 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.198 H 271.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2B30B1
RGBrgb(43, 48, 177)
HSLhsl(238, 61%, 43%)
HSVhsv(238, 76%, 69%)
CMYKcmyk(75.7%, 72.9%, 0%, 30.6%)
CIE-LABlab(28.90, 42.38, -68.37)
CIE-LCHlch(28.90, 80.44, 301.79°)
OKLaboklab(40.49% 0.0059 -0.1979)
OKLCHoklch(40.49% 0.198 271.7)
XYZxyz(9.9863, 5.8008, 42.1798)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30B1 #B1AC2B
analogous
#2B73B1 #2B30B1 #692BB1
triadic
#2B30B1 #B12B30 #30B12B
tetradic
#2B30B1 #B12B73 #B1AC2B #2BB169
square
#2B30B1 #B12B73 #B1AC2B #2BB169
split-complementary
#2B30B1 #B1692B #73B12B
monochromatic
#13154F #1F2380 #2B30B1 #474CD2 #787CDE

Accessibility & contrast

On white

9.72
#2B30B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2B30B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30B1
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30B1#FFFFFF#000000##FFFFFF
##2B30B11.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b30b1;
/* rgb */ color: rgb(43, 48, 177);
/* oklch */ color: oklch(40.5% 0.198 271.7);
Tailwind
colors: {
  custom: {
    50: '#7b69ca',
    500: '#2b30b1',
    950: '#000000',
  },
}
SCSS
$custom: #2b30b1;
$custom-light: #7b69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30b1",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 237.761,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40488,
    "c": 0.198,
    "h": 271.7
  },
  "luminance": 0.05802
}

Semantic roles & 50–950 ramp

primary
#2B30B1
secondary
#C6C372
accent
#DE44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B30B1

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

Preview Lab → · Contrast checker → · Palette generator →

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