#2B306C#2B306C

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

Color values

HEX#2B306C
RGBrgb(43, 48, 108)
HSLhsl(235, 43%, 30%)
HSVhsv(235, 60%, 42%)
CMYKcmyk(60.2%, 55.6%, 0%, 57.6%)
CIE-LABlab(22.69, 17.53, -35.78)
CIE-LCHlch(22.69, 39.84, 296.10°)
OKLaboklab(34.04% 0.0106 -0.1024)
OKLCHoklch(34.04% 0.103 275.9)
XYZxyz(4.7591, 3.7099, 14.6497)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B306C #6C672B
analogous
#2B506C #2B306C #472B6C
triadic
#2B306C #6C2B30 #306C2B
tetradic
#2B306C #6C2B50 #6C672B #2B6C47
square
#2B306C #6C2B50 #6C672B #2B6C47
split-complementary
#2B306C #6C472B #506C2B
monochromatic
#090A16 #1A1D40 #2B306C #3C4398 #565EBC

Accessibility & contrast

On white

12.06
#2B306C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B306C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B306C#FFFFFF#000000##FFFFFF
##2B306C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D396E
Deuteranopia (green-blind)
#00346B
Tritanopia (blue-blind)
#043E49
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b306c;
/* rgb */ color: rgb(43, 48, 108);
/* oklch */ color: oklch(34.0% 0.103 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b6896',
    500: '#2b306c',
    950: '#000000',
  },
}
SCSS
$custom: #2b306c;
$custom-light: #6b6896;
$custom-dark: #000000;
JSON
{
  "hex": "#2b306c",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 235.385,
    "s": 43.046,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34036,
    "c": 0.10294,
    "h": 275.9
  },
  "luminance": 0.0371
}

Semantic roles & 50–950 ramp

primary
#2B306C
secondary
#9E9855
accent
#C955D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B306C

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

Preview Lab → · Contrast checker → · Palette generator →

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