#2D306A#2D306A

#2D306A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.099 H 277.5°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#2D306A
RGBrgb(45, 48, 106)
HSLhsl(237, 40%, 30%)
HSVhsv(237, 58%, 42%)
CMYKcmyk(57.5%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.70, 17.25, -34.47)
CIE-LCHlch(22.70, 38.54, 296.58°)
OKLaboklab(34.03% 0.013 -0.0985)
OKLCHoklch(34.03% 0.099 277.5)
XYZxyz(4.7398, 3.7121, 14.0996)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D306A #6A672D
analogous
#2D4F6A #2D306A #492D6A
triadic
#2D306A #6A2D30 #306A2D
tetradic
#2D306A #6A2D4F #6A672D #2D6A49
square
#2D306A #6A2D4F #6A672D #2D6A49
split-complementary
#2D306A #6A492D #4F6A2D
monochromatic
#090A15 #1B1D3F #2D306A #3F4395 #595EB8

Accessibility & contrast

On white

12.05
#2D306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2D306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D306A
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D306A#FFFFFF#000000##FFFFFF
##2D306A1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11396C
Deuteranopia (green-blind)
#073469
Tritanopia (blue-blind)
#0F3D48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2d306a;
/* rgb */ color: rgb(45, 48, 106);
/* oklch */ color: oklch(34.0% 0.099 277.5);
Tailwind
colors: {
  custom: {
    50: '#6c6895',
    500: '#2d306a',
    950: '#000000',
  },
}
SCSS
$custom: #2d306a;
$custom-light: #6c6895;
$custom-dark: #000000;
JSON
{
  "hex": "#2d306a",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 237.049,
    "s": 40.397,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34035,
    "c": 0.09934,
    "h": 277.5
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#2D306A
secondary
#9C9857
accent
#CA58D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2D306A

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

Preview Lab → · Contrast checker → · Palette generator →

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