#2B306E#2B306E

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

Color values

HEX#2B306E
RGBrgb(43, 48, 110)
HSLhsl(236, 44%, 30%)
HSVhsv(236, 61%, 43%)
CMYKcmyk(60.9%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.84, 18.27, -36.83)
CIE-LCHlch(22.84, 41.11, 296.38°)
OKLaboklab(34.2% 0.0107 -0.1055)
OKLCHoklch(34.2% 0.106 275.8)
XYZxyz(4.8668, 3.7529, 15.2168)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B306E #6E692B
analogous
#2B526E #2B306E #472B6E
triadic
#2B306E #6E2B30 #306E2B
tetradic
#2B306E #6E2B52 #6E692B #2B6E47
square
#2B306E #6E2B52 #6E692B #2B6E47
split-complementary
#2B306E #6E472B #526E2B
monochromatic
#090A16 #1A1D42 #2B306E #3C439A #565EBD

Accessibility & contrast

On white

12.00
#2B306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B306E
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B306E#FFFFFF#000000##FFFFFF
##2B306E1.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093970
Deuteranopia (green-blind)
#00346D
Tritanopia (blue-blind)
#013E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b306e;
/* rgb */ color: rgb(43, 48, 110);
/* oklch */ color: oklch(34.2% 0.106 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b6898',
    500: '#2b306e',
    950: '#000000',
  },
}
SCSS
$custom: #2b306e;
$custom-light: #6b6898;
$custom-dark: #000000;
JSON
{
  "hex": "#2b306e",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 235.522,
    "s": 43.791,
    "l": 30
  },
  "oklch": {
    "l": 0.34195,
    "c": 0.10603,
    "h": 275.8
  },
  "luminance": 0.03753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B306E

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

Preview Lab → · Contrast checker → · Palette generator →

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