#2830AF#2830AF

#2830AF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.196 H 270.9°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#2830AF
RGBrgb(40, 48, 175)
HSLhsl(236, 63%, 42%)
HSVhsv(236, 77%, 69%)
CMYKcmyk(77.1%, 72.6%, 0%, 31.4%)
CIE-LABlab(28.54, 41.43, -67.79)
CIE-LCHlch(28.54, 79.45, 301.43°)
OKLaboklab(40.12% 0.0029 -0.1963)
OKLCHoklch(40.12% 0.196 270.9)
XYZxyz(9.6673, 5.6591, 41.1320)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2830AF #AFA728
analogous
#2874AF #2830AF #6328AF
triadic
#2830AF #AF2830 #30AF28
tetradic
#2830AF #AF2874 #AFA728 #28AF63
square
#2830AF #AF2874 #AFA728 #28AF63
split-complementary
#2830AF #AF6328 #74AF28
monochromatic
#11154B #1D227D #2830AF #4149D4 #7379DF

Accessibility & contrast

On white

9.85
#2830AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2830AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2830AF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2830AF#FFFFFF#000000##FFFFFF
##2830AF1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2830af;
/* rgb */ color: rgb(40, 48, 175);
/* oklch */ color: oklch(40.1% 0.196 270.9);
Tailwind
colors: {
  custom: {
    50: '#7969c8',
    500: '#2830af',
    950: '#000000',
  },
}
SCSS
$custom: #2830af;
$custom-light: #7969c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2830af",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 236.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40119,
    "c": 0.1963,
    "h": 270.9
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2830AF

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

Preview Lab → · Contrast checker → · Palette generator →

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