#2B5F9F#2B5F9F

#2B5F9F is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.117 H 255.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5F9F
RGBrgb(43, 95, 159)
HSLhsl(213, 57%, 40%)
HSVhsv(213, 73%, 62%)
CMYKcmyk(73%, 40.3%, 0%, 37.6%)
CIE-LABlab(39.92, 5.16, -39.76)
CIE-LCHlch(39.92, 40.09, 277.40°)
OKLaboklab(48.32% -0.0301 -0.1134)
OKLCHoklch(48.32% 0.117 255.1)
XYZxyz(11.3442, 11.2000, 34.3581)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F9F #9F6B2B
analogous
#2B999F #2B5F9F #312B9F
triadic
#2B5F9F #9F2B5F #5F9F2B
tetradic
#2B5F9F #9F2B99 #9F6B2B #2B9F31
square
#2B5F9F #9F2B99 #9F6B2B #2B9F31
split-complementary
#2B5F9F #9F312B #999F2B
monochromatic
#11253F #1E426F #2B5F9F #3D7CCA #6D9DD7

Accessibility & contrast

On white

6.48
#2B5F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2B5F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F9F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F9F#FFFFFF#000000##FFFFFF
##2B5F9F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4164A2
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2b5f9f;
/* rgb */ color: rgb(43, 95, 159);
/* oklch */ color: oklch(48.3% 0.117 255.1);
Tailwind
colors: {
  custom: {
    50: '#738cbc',
    500: '#2b5f9f',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f9f;
$custom-light: #738cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f9f",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 159
  },
  "hsl": {
    "h": 213.103,
    "s": 57.426,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.11731,
    "h": 255.1
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#2B5F9F
secondary
#BE9767
accent
#9C47E1
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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