#2B306D#2B306D

#2B306D is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.1% C 0.104 H 275.8°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#2B306D
RGBrgb(43, 48, 109)
HSLhsl(235, 43%, 30%)
HSVhsv(235, 61%, 43%)
CMYKcmyk(60.6%, 56%, 0%, 57.3%)
CIE-LABlab(22.76, 17.90, -36.30)
CIE-LCHlch(22.76, 40.48, 296.24°)
OKLaboklab(34.12% 0.0106 -0.1039)
OKLCHoklch(34.12% 0.104 275.8)
XYZxyz(4.8126, 3.7313, 14.9316)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B306D #6D682B
analogous
#2B516D #2B306D #472B6D
triadic
#2B306D #6D2B30 #306D2B
tetradic
#2B306D #6D2B51 #6D682B #2B6D47
square
#2B306D #6D2B51 #6D682B #2B6D47
split-complementary
#2B306D #6D472B #516D2B
monochromatic
#090A16 #1A1D41 #2B306D #3C4399 #565EBC

Accessibility & contrast

On white

12.02
#2B306D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2B306D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B306D
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B306D#FFFFFF#000000##FFFFFF
##2B306D1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B396F
Deuteranopia (green-blind)
#00346C
Tritanopia (blue-blind)
#023E49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b306d;
/* rgb */ color: rgb(43, 48, 109);
/* oklch */ color: oklch(34.1% 0.104 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b6897',
    500: '#2b306d',
    950: '#000000',
  },
}
SCSS
$custom: #2b306d;
$custom-light: #6b6897;
$custom-dark: #000000;
JSON
{
  "hex": "#2b306d",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 109
  },
  "hsl": {
    "h": 235.455,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34115,
    "c": 0.10449,
    "h": 275.8
  },
  "luminance": 0.03732
}

Semantic roles & 50–950 ramp

primary
#2B306D
secondary
#9F9955
accent
#CA55D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B306D

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

Preview Lab → · Contrast checker → · Palette generator →

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