#2B306F#2B306F

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

Color values

HEX#2B306F
RGBrgb(43, 48, 111)
HSLhsl(236, 44%, 30%)
HSVhsv(236, 61%, 44%)
CMYKcmyk(61.3%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.91, 18.64, -37.35)
CIE-LCHlch(22.91, 41.74, 296.52°)
OKLaboklab(34.28% 0.0107 -0.107)
OKLCHoklch(34.28% 0.108 275.7)
XYZxyz(4.9215, 3.7748, 15.5051)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B306F #6F6A2B
analogous
#2B526F #2B306F #482B6F
triadic
#2B306F #6F2B30 #306F2B
tetradic
#2B306F #6F2B52 #6F6A2B #2B6F48
square
#2B306F #6F2B52 #6F6A2B #2B6F48
split-complementary
#2B306F #6F482B #526F2B
monochromatic
#090A17 #1A1D43 #2B306F #3C439B #575EBE

Accessibility & contrast

On white

11.97
#2B306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B306F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B306F#FFFFFF#000000##FFFFFF
##2B306F1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073A71
Deuteranopia (green-blind)
#00346E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2b306f;
/* rgb */ color: rgb(43, 48, 111);
/* oklch */ color: oklch(34.3% 0.108 275.7);
Tailwind
colors: {
  custom: {
    50: '#6b6899',
    500: '#2b306f',
    950: '#000000',
  },
}
SCSS
$custom: #2b306f;
$custom-light: #6b6899;
$custom-dark: #000000;
JSON
{
  "hex": "#2b306f",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 235.588,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34276,
    "c": 0.10756,
    "h": 275.7
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#2B306F
secondary
#A19B55
accent
#CA54D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2B306F

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

Preview Lab → · Contrast checker → · Palette generator →

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