#2B30AE#2B30AE

#2B30AE is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.194 H 271.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#2B30AE
RGBrgb(43, 48, 174)
HSLhsl(238, 60%, 43%)
HSVhsv(238, 75%, 68%)
CMYKcmyk(75.3%, 72.4%, 0%, 31.8%)
CIE-LABlab(28.60, 41.35, -67.09)
CIE-LCHlch(28.60, 78.81, 301.65°)
OKLaboklab(40.18% 0.0064 -0.1942)
OKLCHoklch(40.18% 0.194 271.9)
XYZxyz(9.6906, 5.6825, 40.6223)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B30AE #AEA92B
analogous
#2B71AE #2B30AE #682BAE
triadic
#2B30AE #AE2B30 #30AE2B
tetradic
#2B30AE #AE2B71 #AEA92B #2BAE68
square
#2B30AE #AE2B71 #AEA92B #2BAE68
split-complementary
#2B30AE #AE682B #71AE2B
monochromatic
#13154C #1F227D #2B30AE #454AD1 #767ADD

Accessibility & contrast

On white

9.83
#2B30AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2B30AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B30AE
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B30AE#FFFFFF#000000##FFFFFF
##2B30AE1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b30ae;
/* rgb */ color: rgb(43, 48, 174);
/* oklch */ color: oklch(40.2% 0.194 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a69c7',
    500: '#2b30ae',
    950: '#000000',
  },
}
SCSS
$custom: #2b30ae;
$custom-light: #7a69c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b30ae",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 174
  },
  "hsl": {
    "h": 237.71,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40176,
    "c": 0.19426,
    "h": 271.9
  },
  "luminance": 0.05683
}

Semantic roles & 50–950 ramp

primary
#2B30AE
secondary
#C5C270
accent
#DD44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2B30AE

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

Preview Lab → · Contrast checker → · Palette generator →

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