#2B30A9#2B30A9

#2B30A9 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.188 H 272.2°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#2B30A9
RGBrgb(43, 48, 169)
HSLhsl(238, 59%, 42%)
HSVhsv(238, 75%, 66%)
CMYKcmyk(74.6%, 71.6%, 0%, 33.7%)
CIE-LABlab(28.09, 39.63, -64.92)
CIE-LCHlch(28.09, 76.06, 301.40°)
OKLaboklab(39.66% 0.0071 -0.1878)
OKLCHoklch(39.66% 0.188 272.2)
XYZxyz(9.2122, 5.4911, 38.1028)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30A9 #A9A42B
analogous
#2B6FA9 #2B30A9 #652BA9
triadic
#2B30A9 #A92B30 #30A92B
tetradic
#2B30A9 #A92B6F #A9A42B #2BA965
square
#2B30A9 #A92B6F #A9A42B #2BA965
split-complementary
#2B30A9 #A9652B #6FA92B
monochromatic
#121447 #1F2278 #2B30A9 #4248CF #7377DB

Accessibility & contrast

On white

10.01
#2B30A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2B30A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30A9
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30A9#FFFFFF#000000##FFFFFF
##2B30A91.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2b30a9;
/* rgb */ color: rgb(43, 48, 169);
/* oklch */ color: oklch(39.7% 0.188 272.2);
Tailwind
colors: {
  custom: {
    50: '#7969c4',
    500: '#2b30a9',
    950: '#000000',
  },
}
SCSS
$custom: #2b30a9;
$custom-light: #7969c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30a9",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 169
  },
  "hsl": {
    "h": 237.619,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.18798,
    "h": 272.2
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#2B30A9
secondary
#C3BF6D
accent
#DC45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2B30A9

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

Preview Lab → · Contrast checker → · Palette generator →

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