#2B5F9B#2B5F9B

#2B5F9B is a mid, moderate cyan. Relative luminance 0.111; OKLCH L 48.1% C 0.112 H 253.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2B5F9B
RGBrgb(43, 95, 155)
HSLhsl(212, 57%, 39%)
HSVhsv(212, 72%, 61%)
CMYKcmyk(72.3%, 38.7%, 0%, 39.2%)
CIE-LABlab(39.69, 3.65, -37.73)
CIE-LCHlch(39.69, 37.91, 275.53°)
OKLaboklab(48.06% -0.0311 -0.1074)
OKLCHoklch(48.06% 0.112 253.9)
XYZxyz(11.0027, 11.0634, 32.5596)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F9B #9B672B
analogous
#2B979B #2B5F9B #2F2B9B
triadic
#2B5F9B #9B2B5F #5F9B2B
tetradic
#2B5F9B #9B2B97 #9B672B #2B9B2F
square
#2B5F9B #9B2B97 #9B672B #2B9B2F
split-complementary
#2B5F9B #9B2F2B #979B2B
monochromatic
#10243B #1E426B #2B5F9B #3B7DC9 #6B9CD6

Accessibility & contrast

On white

6.54
#2B5F9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2B5F9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F9B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F9B#FFFFFF#000000##FFFFFF
##2B5F9B1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44639D
Deuteranopia (green-blind)
#33599A
Tritanopia (blue-blind)
#006D75
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5f9b;
/* rgb */ color: rgb(43, 95, 155);
/* oklch */ color: oklch(48.1% 0.112 253.9);
Tailwind
colors: {
  custom: {
    50: '#738cb9',
    500: '#2b5f9b',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f9b;
$custom-light: #738cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f9b",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 155
  },
  "hsl": {
    "h": 212.143,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48064,
    "c": 0.11186,
    "h": 253.9
  },
  "luminance": 0.11065
}

Semantic roles & 50–950 ramp

primary
#2B5F9B
secondary
#BC9465
accent
#9948E0
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2B5F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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