#2B30AD#2B30AD

#2B30AD is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.193 H 271.9°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2B30AD
RGBrgb(43, 48, 173)
HSLhsl(238, 60%, 42%)
HSVhsv(238, 75%, 68%)
CMYKcmyk(75.1%, 72.3%, 0%, 32.2%)
CIE-LABlab(28.49, 41.01, -66.66)
CIE-LCHlch(28.49, 78.26, 301.60°)
OKLaboklab(40.07% 0.0065 -0.1929)
OKLCHoklch(40.07% 0.193 271.9)
XYZxyz(9.5935, 5.6436, 40.1108)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30AD #ADA82B
analogous
#2B71AD #2B30AD #672BAD
triadic
#2B30AD #AD2B30 #30AD2B
tetradic
#2B30AD #AD2B71 #ADA82B #2BAD67
square
#2B30AD #AD2B71 #ADA82B #2BAD67
split-complementary
#2B30AD #AD672B #71AD2B
monochromatic
#13154B #1F227C #2B30AD #454AD1 #767ADD

Accessibility & contrast

On white

9.86
#2B30AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2B30AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30AD
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30AD#FFFFFF#000000##FFFFFF
##2B30AD1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b30ad;
/* rgb */ color: rgb(43, 48, 173);
/* oklch */ color: oklch(40.1% 0.193 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a69c7',
    500: '#2b30ad',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ad;
$custom-light: #7a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ad",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 173
  },
  "hsl": {
    "h": 237.692,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40073,
    "c": 0.19302,
    "h": 271.9
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B30AD

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

Preview Lab → · Contrast checker → · Palette generator →

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