#2D30AF#2D30AF

#2D30AF is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.4% C 0.195 H 272.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2D30AF
RGBrgb(45, 48, 175)
HSLhsl(239, 59%, 43%)
HSVhsv(239, 74%, 69%)
CMYKcmyk(74.3%, 72.6%, 0%, 31.4%)
CIE-LABlab(28.81, 41.89, -67.32)
CIE-LCHlch(28.81, 79.29, 301.89°)
OKLaboklab(40.39% 0.0085 -0.1948)
OKLCHoklch(40.39% 0.195 272.5)
XYZxyz(9.8744, 5.7659, 41.1417)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D30AF #AFAC2D
analogous
#2D71AF #2D30AF #6B2DAF
triadic
#2D30AF #AF2D30 #30AF2D
tetradic
#2D30AF #AF2D71 #AFAC2D #2DAF6B
square
#2D30AF #AF2D71 #AFAC2D #2DAF6B
split-complementary
#2D30AF #AF6B2D #71AF2D
monochromatic
#14154E #20237E #2D30AF #494CD0 #7A7CDD

Accessibility & contrast

On white

9.75
#2D30AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D30AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D30AF
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D30AF#FFFFFF#000000##FFFFFF
##2D30AF1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d30af;
/* rgb */ color: rgb(45, 48, 175);
/* oklch */ color: oklch(40.4% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#7b69c8',
    500: '#2d30af',
    950: '#000000',
  },
}
SCSS
$custom: #2d30af;
$custom-light: #7b69c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d30af",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 238.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40393,
    "c": 0.19499,
    "h": 272.5
  },
  "luminance": 0.05767
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D30AF

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

Preview Lab → · Contrast checker → · Palette generator →

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