#2830B1#2830B1

#2830B1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.199 H 270.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2830B1
RGBrgb(40, 48, 177)
HSLhsl(236, 63%, 43%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(77.4%, 72.9%, 0%, 30.6%)
CIE-LABlab(28.74, 42.12, -68.65)
CIE-LCHlch(28.74, 80.54, 301.53°)
OKLaboklab(40.33% 0.0027 -0.1988)
OKLCHoklch(40.33% 0.199 270.8)
XYZxyz(9.8651, 5.7383, 42.1741)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830B1 #B1A928
analogous
#2875B1 #2830B1 #6428B1
triadic
#2830B1 #B12830 #30B128
tetradic
#2830B1 #B12875 #B1A928 #28B164
square
#2830B1 #B12875 #B1A928 #28B164
split-complementary
#2830B1 #B16428 #75B128
monochromatic
#11154D #1D227F #2830B1 #424AD4 #747AE0

Accessibility & contrast

On white

9.78
#2830B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2830B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830B1
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830B1#FFFFFF#000000##FFFFFF
##2830B11.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2830b1;
/* rgb */ color: rgb(40, 48, 177);
/* oklch */ color: oklch(40.3% 0.199 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a69ca',
    500: '#2830b1',
    950: '#000000',
  },
}
SCSS
$custom: #2830b1;
$custom-light: #7a69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2830b1",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 236.496,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.40328,
    "c": 0.19879,
    "h": 270.8
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#2830B1
secondary
#C7C26E
accent
#DD42E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2830B1

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

Preview Lab → · Contrast checker → · Palette generator →

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