#2830B2#2830B2

#2830B2 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.4% C 0.200 H 270.7°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#2830B2
RGBrgb(40, 48, 178)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(77.5%, 73%, 0%, 30.2%)
CIE-LABlab(28.85, 42.47, -69.07)
CIE-LCHlch(28.85, 81.08, 301.58°)
OKLaboklab(40.43% 0.0025 -0.2)
OKLCHoklch(40.43% 0.2 270.7)
XYZxyz(9.9652, 5.7783, 42.7010)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830B2 #B2AA28
analogous
#2875B2 #2830B2 #6528B2
triadic
#2830B2 #B22830 #30B228
tetradic
#2830B2 #B22875 #B2AA28 #28B265
square
#2830B2 #B22875 #B2AA28 #28B265
split-complementary
#2830B2 #B26528 #75B228
monochromatic
#12154E #1D2380 #2830B2 #434BD5 #757BE0

Accessibility & contrast

On white

9.74
#2830B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2830B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830B2
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830B2#FFFFFF#000000##FFFFFF
##2830B21.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#003DB0
Tritanopia (blue-blind)
#00556E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2830b2;
/* rgb */ color: rgb(40, 48, 178);
/* oklch */ color: oklch(40.4% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a69ca',
    500: '#2830b2',
    950: '#000000',
  },
}
SCSS
$custom: #2830b2;
$custom-light: #7a69ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2830b2",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 236.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40433,
    "c": 0.20003,
    "h": 270.7
  },
  "luminance": 0.05779
}

Semantic roles & 50–950 ramp

primary
#2830B2
secondary
#C7C26F
accent
#DD41E6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2830B2

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

Preview Lab → · Contrast checker → · Palette generator →

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