#2B30AB#2B30AB

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

Color values

HEX#2B30AB
RGBrgb(43, 48, 171)
HSLhsl(238, 60%, 42%)
HSVhsv(238, 75%, 67%)
CMYKcmyk(74.9%, 71.9%, 0%, 32.9%)
CIE-LABlab(28.29, 40.32, -65.79)
CIE-LCHlch(28.29, 77.16, 301.50°)
OKLaboklab(39.87% 0.0068 -0.1904)
OKLCHoklch(39.87% 0.191 272)
XYZxyz(9.4014, 5.5668, 39.0992)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30AB #ABA62B
analogous
#2B70AB #2B30AB #662BAB
triadic
#2B30AB #AB2B30 #30AB2B
tetradic
#2B30AB #AB2B70 #ABA62B #2BAB66
square
#2B30AB #AB2B70 #ABA62B #2BAB66
split-complementary
#2B30AB #AB662B #70AB2B
monochromatic
#121549 #1F227A #2B30AB #4349D0 #7478DC

Accessibility & contrast

On white

9.94
#2B30AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B30AB
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30AB#FFFFFF#000000##FFFFFF
##2B30AB1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#003DA9
Tritanopia (blue-blind)
#00536A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b30ab;
/* rgb */ color: rgb(43, 48, 171);
/* oklch */ color: oklch(39.9% 0.191 272.0);
Tailwind
colors: {
  custom: {
    50: '#7969c5',
    500: '#2b30ab',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ab;
$custom-light: #7969c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ab",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 237.656,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39867,
    "c": 0.1905,
    "h": 272
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B30AB

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

Preview Lab → · Contrast checker → · Palette generator →

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