#2830B3#2830B3

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

Color values

HEX#2830B3
RGBrgb(40, 48, 179)
HSLhsl(237, 63%, 43%)
HSVhsv(237, 78%, 70%)
CMYKcmyk(77.7%, 73.2%, 0%, 29.8%)
CIE-LABlab(28.95, 42.81, -69.50)
CIE-LCHlch(28.95, 81.62, 301.63°)
OKLaboklab(40.54% 0.0024 -0.2012)
OKLCHoklch(40.54% 0.201 270.7)
XYZxyz(10.0659, 5.8186, 43.2317)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830B3 #B3AB28
analogous
#2875B3 #2830B3 #6628B3
triadic
#2830B3 #B32830 #30B328
tetradic
#2830B3 #B32875 #B3AB28 #28B366
square
#2830B3 #B32875 #B3AB28 #28B366
split-complementary
#2830B3 #B36628 #75B328
monochromatic
#12154F #1D2381 #2830B3 #434CD5 #757BE0

Accessibility & contrast

On white

9.70
#2830B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2830B3
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830B3#FFFFFF#000000##FFFFFF
##2830B31.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2830b3;
/* rgb */ color: rgb(40, 48, 179);
/* oklch */ color: oklch(40.5% 0.201 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a69cb',
    500: '#2830b3',
    950: '#000000',
  },
}
SCSS
$custom: #2830b3;
$custom-light: #7a69cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2830b3",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 236.547,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40539,
    "c": 0.20125,
    "h": 270.7
  },
  "luminance": 0.0582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2830B3

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

Preview Lab → · Contrast checker → · Palette generator →

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