#2D30B0#2D30B0

#2D30B0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.5% C 0.196 H 272.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2D30B0
RGBrgb(45, 48, 176)
HSLhsl(239, 59%, 43%)
HSVhsv(239, 74%, 69%)
CMYKcmyk(74.4%, 72.7%, 0%, 31%)
CIE-LABlab(28.92, 42.23, -67.75)
CIE-LCHlch(28.92, 79.84, 301.93°)
OKLaboklab(40.5% 0.0083 -0.1961)
OKLCHoklch(40.5% 0.196 272.4)
XYZxyz(9.9730, 5.8053, 41.6608)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30B0 #B0AD2D
analogous
#2D71B0 #2D30B0 #6B2DB0
triadic
#2D30B0 #B02D30 #30B02D
tetradic
#2D30B0 #B02D71 #B0AD2D #2DB06B
square
#2D30B0 #B02D71 #B0AD2D #2DB06B
split-complementary
#2D30B0 #B06B2D #71B02D
monochromatic
#14154F #21237F #2D30B0 #4A4DD1 #7A7DDD

Accessibility & contrast

On white

9.72
#2D30B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2D30B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30B0
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30B0#FFFFFF#000000##FFFFFF
##2D30B01.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d30b0;
/* rgb */ color: rgb(45, 48, 176);
/* oklch */ color: oklch(40.5% 0.196 272.4);
Tailwind
colors: {
  custom: {
    50: '#7b69c9',
    500: '#2d30b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d30b0;
$custom-light: #7b69c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30b0",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 238.626,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40496,
    "c": 0.19624,
    "h": 272.4
  },
  "luminance": 0.05806
}

Semantic roles & 50–950 ramp

primary
#2D30B0
secondary
#C5C373
accent
#DF45E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2D30B0

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

Preview Lab → · Contrast checker → · Palette generator →

#2D30B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva