#2B30AC#2B30AC

#2B30AC is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.192 H 272.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2B30AC
RGBrgb(43, 48, 172)
HSLhsl(238, 60%, 42%)
HSVhsv(238, 75%, 67%)
CMYKcmyk(75%, 72.1%, 0%, 32.5%)
CIE-LABlab(28.39, 40.67, -66.22)
CIE-LCHlch(28.39, 77.71, 301.55°)
OKLaboklab(39.97% 0.0066 -0.1916)
OKLCHoklch(39.97% 0.192 272)
XYZxyz(9.4971, 5.6051, 39.6031)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30AC #ACA72B
analogous
#2B71AC #2B30AC #662BAC
triadic
#2B30AC #AC2B30 #30AC2B
tetradic
#2B30AC #AC2B71 #ACA72B #2BAC66
square
#2B30AC #AC2B71 #ACA72B #2BAC66
split-complementary
#2B30AC #AC662B #71AC2B
monochromatic
#13154A #1F227B #2B30AC #4449D0 #7579DC

Accessibility & contrast

On white

9.90
#2B30AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2B30AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30AC
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30AC#FFFFFF#000000##FFFFFF
##2B30AC1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b30ac;
/* rgb */ color: rgb(43, 48, 172);
/* oklch */ color: oklch(40.0% 0.192 272.0);
Tailwind
colors: {
  custom: {
    50: '#7969c6',
    500: '#2b30ac',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ac;
$custom-light: #7969c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ac",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 237.674,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.3997,
    "c": 0.19176,
    "h": 272
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#2B30AC
secondary
#C4C16F
accent
#DD45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B30AC

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

Preview Lab → · Contrast checker → · Palette generator →

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