#2830B0#2830B0

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

Color values

HEX#2830B0
RGBrgb(40, 48, 176)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(77.3%, 72.7%, 0%, 31%)
CIE-LABlab(28.64, 41.78, -68.22)
CIE-LCHlch(28.64, 80.00, 301.48°)
OKLaboklab(40.22% 0.0028 -0.1975)
OKLCHoklch(40.22% 0.198 270.8)
XYZxyz(9.7658, 5.6985, 41.6511)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830B0 #B0A828
analogous
#2874B0 #2830B0 #6428B0
triadic
#2830B0 #B02830 #30B028
tetradic
#2830B0 #B02874 #B0A828 #28B064
square
#2830B0 #B02874 #B0A828 #28B064
split-complementary
#2830B0 #B06428 #74B028
monochromatic
#11154C #1D227E #2830B0 #414AD4 #737ADF

Accessibility & contrast

On white

9.81
#2830B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2830B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830B0
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830B0#FFFFFF#000000##FFFFFF
##2830B01.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2830b0;
/* rgb */ color: rgb(40, 48, 176);
/* oklch */ color: oklch(40.2% 0.198 270.8);
Tailwind
colors: {
  custom: {
    50: '#7969c9',
    500: '#2830b0',
    950: '#000000',
  },
}
SCSS
$custom: #2830b0;
$custom-light: #7969c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2830b0",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 236.471,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40223,
    "c": 0.19755,
    "h": 270.8
  },
  "luminance": 0.057
}

Semantic roles & 50–950 ramp

primary
#2830B0
secondary
#C6C16D
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2830B0

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

Preview Lab → · Contrast checker → · Palette generator →

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