#2830AB#2830AB

#2830AB is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.191 H 271.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#2830AB
RGBrgb(40, 48, 171)
HSLhsl(236, 62%, 41%)
HSVhsv(236, 77%, 67%)
CMYKcmyk(76.6%, 71.9%, 0%, 32.9%)
CIE-LABlab(28.13, 40.04, -66.07)
CIE-LCHlch(28.13, 77.26, 301.22°)
OKLaboklab(39.7% 0.0035 -0.1913)
OKLCHoklch(39.7% 0.191 271)
XYZxyz(9.2802, 5.5043, 39.0935)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830AB #ABA328
analogous
#2872AB #2830AB #6228AB
triadic
#2830AB #AB2830 #30AB28
tetradic
#2830AB #AB2872 #ABA328 #28AB62
square
#2830AB #AB2872 #ABA328 #28AB62
split-complementary
#2830AB #AB6228 #72AB28
monochromatic
#111448 #1C2279 #2830AB #3E47D2 #7077DE

Accessibility & contrast

On white

10.00
#2830AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2830AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830AB
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830AB#FFFFFF#000000##FFFFFF
##2830AB1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2830ab;
/* rgb */ color: rgb(40, 48, 171);
/* oklch */ color: oklch(39.7% 0.191 271.0);
Tailwind
colors: {
  custom: {
    50: '#7869c5',
    500: '#2830ab',
    950: '#000000',
  },
}
SCSS
$custom: #2830ab;
$custom-light: #7869c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2830ab",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 236.336,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39702,
    "c": 0.1913,
    "h": 271
  },
  "luminance": 0.05505
}

Semantic roles & 50–950 ramp

primary
#2830AB
secondary
#C4BF6A
accent
#DB43E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2830AB

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

Preview Lab → · Contrast checker → · Palette generator →

#2830AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva