#2D306E#2D306E

#2D306E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.106 H 277.2°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#2D306E
RGBrgb(45, 48, 110)
HSLhsl(237, 42%, 30%)
HSVhsv(237, 59%, 43%)
CMYKcmyk(59.1%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.99, 18.70, -36.58)
CIE-LCHlch(22.99, 41.08, 297.08°)
OKLaboklab(34.35% 0.0132 -0.1047)
OKLCHoklch(34.35% 0.106 277.2)
XYZxyz(4.9527, 3.7972, 15.2208)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D306E #6E6B2D
analogous
#2D506E #2D306E #4A2D6E
triadic
#2D306E #6E2D30 #306E2D
tetradic
#2D306E #6E2D50 #6E6B2D #2D6E4A
square
#2D306E #6E2D50 #6E6B2D #2D6E4A
split-complementary
#2D306E #6E4A2D #506E2D
monochromatic
#090A17 #1B1D43 #2D306E #3F4399 #5A5EBB

Accessibility & contrast

On white

11.93
#2D306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D306E
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D306E#FFFFFF#000000##FFFFFF
##2D306E1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3A70
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#093E4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d306e;
/* rgb */ color: rgb(45, 48, 110);
/* oklch */ color: oklch(34.3% 0.106 277.2);
Tailwind
colors: {
  custom: {
    50: '#6c6898',
    500: '#2d306e',
    950: '#000000',
  },
}
SCSS
$custom: #2d306e;
$custom-light: #6c6898;
$custom-dark: #000000;
JSON
{
  "hex": "#2d306e",
  "rgb": {
    "r": 45,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 237.231,
    "s": 41.935,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34349,
    "c": 0.10552,
    "h": 277.2
  },
  "luminance": 0.03798
}

Semantic roles & 50–950 ramp

primary
#2D306E
secondary
#A09C57
accent
#CC56D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2D306E

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

Preview Lab → · Contrast checker → · Palette generator →

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