#2B30AA#2B30AA

#2B30AA is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.189 H 272.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2B30AA
RGBrgb(43, 48, 170)
HSLhsl(238, 60%, 42%)
HSVhsv(238, 75%, 67%)
CMYKcmyk(74.7%, 71.8%, 0%, 33.3%)
CIE-LABlab(28.19, 39.98, -65.36)
CIE-LCHlch(28.19, 76.61, 301.45°)
OKLaboklab(39.76% 0.0069 -0.1891)
OKLCHoklch(39.76% 0.189 272.1)
XYZxyz(9.3065, 5.5288, 38.5991)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30AA #AAA52B
analogous
#2B70AA #2B30AA #662BAA
triadic
#2B30AA #AA2B30 #30AA2B
tetradic
#2B30AA #AA2B70 #AAA52B #2BAA66
square
#2B30AA #AA2B70 #AAA52B #2BAA66
split-complementary
#2B30AA #AA662B #70AA2B
monochromatic
#121448 #1F2279 #2B30AA #4348CF #7478DC

Accessibility & contrast

On white

9.97
#2B30AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B30AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30AA
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30AA#FFFFFF#000000##FFFFFF
##2B30AA1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AE
Deuteranopia (green-blind)
#003CA8
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b30aa;
/* rgb */ color: rgb(43, 48, 170);
/* oklch */ color: oklch(39.8% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2b30aa',
    950: '#000000',
  },
}
SCSS
$custom: #2b30aa;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30aa",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 237.638,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39764,
    "c": 0.18925,
    "h": 272.1
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B30AA

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

Preview Lab → · Contrast checker → · Palette generator →

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