#2B305A#2B305A

#2B305A is a dark, moderate blue. Relative luminance 0.034; OKLCH L 32.7% C 0.074 H 276.4°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#2B305A
RGBrgb(43, 48, 90)
HSLhsl(234, 35%, 26%)
HSVhsv(234, 52%, 35%)
CMYKcmyk(52.2%, 46.7%, 0%, 64.7%)
CIE-LABlab(21.45, 11.00, -26.01)
CIE-LCHlch(21.45, 28.24, 292.92°)
OKLaboklab(32.7% 0.0082 -0.0737)
OKLCHoklch(32.7% 0.074 276.4)
XYZxyz(3.8981, 3.3655, 10.1151)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B305A #5A552B
analogous
#2B475A #2B305A #3D2B5A
triadic
#2B305A #5A2B30 #305A2B
tetradic
#2B305A #5A2B47 #5A552B #2B5A3D
square
#2B305A #5A2B47 #5A552B #2B5A3D
split-complementary
#2B305A #5A3D2B #475A2B
monochromatic
#0A0B15 #171A31 #2B305A #3F4683 #535CAD

Accessibility & contrast

On white

12.55
#2B305A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2B305A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B305A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B305A#FFFFFF#000000##FFFFFF
##2B305A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F355C
Deuteranopia (green-blind)
#1B3259
Tritanopia (blue-blind)
#193940
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2b305a;
/* rgb */ color: rgb(43, 48, 90);
/* oklch */ color: oklch(32.7% 0.074 276.4);
Tailwind
colors: {
  custom: {
    50: '#686889',
    500: '#2b305a',
    950: '#000000',
  },
}
SCSS
$custom: #2b305a;
$custom-light: #686889;
$custom-dark: #000000;
JSON
{
  "hex": "#2b305a",
  "rgb": {
    "r": 43,
    "g": 48,
    "b": 90
  },
  "hsl": {
    "h": 233.617,
    "s": 35.338,
    "l": 26.078
  },
  "oklch": {
    "l": 0.32702,
    "c": 0.07416,
    "h": 276.4
  },
  "luminance": 0.03366
}

Semantic roles & 50–950 ramp

primary
#2B305A
secondary
#8C8655
accent
#C05CCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #2B305A

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

Preview Lab → · Contrast checker → · Palette generator →

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