#2B306A#2B306A

#2B306A is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.100 H 276.0°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2B306A
RGBrgb(43, 48, 106)
HSLhsl(235, 42%, 29%)
HSVhsv(235, 59%, 42%)
CMYKcmyk(59.4%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.54, 16.79, -34.72)
CIE-LCHlch(22.54, 38.57, 295.81°)
OKLaboklab(33.88% 0.0104 -0.0993)
OKLCHoklch(33.88% 0.1 276)
XYZxyz(4.6539, 3.6678, 14.0956)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B306A #6A652B
analogous
#2B506A #2B306A #462B6A
triadic
#2B306A #6A2B30 #306A2B
tetradic
#2B306A #6A2B50 #6A652B #2B6A46
square
#2B306A #6A2B50 #6A652B #2B6A46
split-complementary
#2B306A #6A462B #506A2B
monochromatic
#090A16 #191C3E #2B306A #3D4496 #555DBA

Accessibility & contrast

On white

12.11
#2B306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2B306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B306A
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B306A#FFFFFF#000000##FFFFFF
##2B306A1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10396C
Deuteranopia (green-blind)
#053369
Tritanopia (blue-blind)
#083D48
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2b306a;
/* rgb */ color: rgb(43, 48, 106);
/* oklch */ color: oklch(33.9% 0.100 276.0);
Tailwind
colors: {
  custom: {
    50: '#6a6895',
    500: '#2b306a',
    950: '#000000',
  },
}
SCSS
$custom: #2b306a;
$custom-light: #6a6895;
$custom-dark: #000000;
JSON
{
  "hex": "#2b306a",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 235.238,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33879,
    "c": 0.09984,
    "h": 276
  },
  "luminance": 0.03668
}

Semantic roles & 50–950 ramp

primary
#2B306A
secondary
#9C9655
accent
#C856D2
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2B306A

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

Preview Lab → · Contrast checker → · Palette generator →

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