#2B5F91#2B5F91

#2B5F91 is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.098 H 249.9°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#2B5F91
RGBrgb(43, 95, 145)
HSLhsl(209, 54%, 37%)
HSVhsv(209, 70%, 57%)
CMYKcmyk(70.3%, 34.5%, 0%, 43.1%)
CIE-LABlab(39.14, -0.09, -32.59)
CIE-LCHlch(39.14, 32.59, 269.84°)
OKLaboklab(47.46% -0.0338 -0.0924)
OKLCHoklch(47.46% 0.098 249.9)
XYZxyz(10.1974, 10.7413, 28.3184)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F91 #915D2B
analogous
#2B9190 #2B5F91 #2B2C91
triadic
#2B5F91 #912B5F #5F912B
tetradic
#2B5F91 #902B91 #915D2B #2C912B
square
#2B5F91 #902B91 #915D2B #2C912B
split-complementary
#2B5F91 #912B2C #91902B
monochromatic
#0F2133 #1D4062 #2B5F91 #397EC0 #659CD1

Accessibility & contrast

On white

6.67
#2B5F91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2B5F91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F91
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F91#FFFFFF#000000##FFFFFF
##2B5F911.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#3A5890
Tritanopia (blue-blind)
#006B71
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5f91;
/* rgb */ color: rgb(43, 95, 145);
/* oklch */ color: oklch(47.5% 0.098 249.9);
Tailwind
colors: {
  custom: {
    50: '#718cb1',
    500: '#2b5f91',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f91;
$custom-light: #718cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f91",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 145
  },
  "hsl": {
    "h": 209.412,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47459,
    "c": 0.09842,
    "h": 249.9
  },
  "luminance": 0.10742
}

Semantic roles & 50–950 ramp

primary
#2B5F91
secondary
#B88B60
accent
#924ADE
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #2B5F91

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

Preview Lab → · Contrast checker → · Palette generator →

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