#2B5283#2B5283

#2B5283 is a dark, moderate cyan. Relative luminance 0.082; OKLCH L 43.5% C 0.093 H 255.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2B5283
RGBrgb(43, 82, 131)
HSLhsl(213, 51%, 34%)
HSVhsv(213, 67%, 51%)
CMYKcmyk(67.2%, 37.4%, 0%, 48.6%)
CIE-LABlab(34.37, 3.01, -31.61)
CIE-LCHlch(34.37, 31.76, 275.44°)
OKLaboklab(43.47% -0.0238 -0.0897)
OKLCHoklch(43.47% 0.093 255.1)
XYZxyz(8.1088, 8.1861, 22.6211)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5283 #835C2B
analogous
#2B7E83 #2B5283 #302B83
triadic
#2B5283 #832B52 #52832B
tetradic
#2B5283 #832B7E #835C2B #2B8330
square
#2B5283 #832B7E #835C2B #2B8330
split-complementary
#2B5283 #83302B #7E832B
monochromatic
#0D1827 #1C3555 #2B5283 #3A6FB1 #5E8ECA

Accessibility & contrast

On white

7.96
#2B5283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2B5283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5283
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5283#FFFFFF#000000##FFFFFF
##2B52831.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5585
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b5283;
/* rgb */ color: rgb(43, 82, 131);
/* oklch */ color: oklch(43.5% 0.093 255.1);
Tailwind
colors: {
  custom: {
    50: '#6e82a7',
    500: '#2b5283',
    950: '#000000',
  },
}
SCSS
$custom: #2b5283;
$custom-light: #6e82a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5283",
  "rgb": {
    "r": 43,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 213.409,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.09284,
    "h": 255.1
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#2B5283
secondary
#B08A5A
accent
#9C4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2B5283

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

Preview Lab → · Contrast checker → · Palette generator →

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