#2B5FA0#2B5FA0

#2B5FA0 is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.4% C 0.119 H 255.4°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA0
RGBrgb(43, 95, 160)
HSLhsl(213, 58%, 40%)
HSVhsv(213, 73%, 63%)
CMYKcmyk(73.1%, 40.6%, 0%, 37.3%)
CIE-LABlab(39.97, 5.54, -40.26)
CIE-LCHlch(39.97, 40.64, 277.84°)
OKLaboklab(48.38% -0.0299 -0.1149)
OKLCHoklch(48.38% 0.119 255.4)
XYZxyz(11.4313, 11.2348, 34.8170)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA0 #A06C2B
analogous
#2B9AA0 #2B5FA0 #312BA0
triadic
#2B5FA0 #A02B5F #5FA02B
tetradic
#2B5FA0 #A02B9A #A06C2B #2BA031
square
#2B5FA0 #A02B9A #A06C2B #2BA031
split-complementary
#2B5FA0 #A0312B #9AA02B
monochromatic
#112640 #1E4270 #2B5FA0 #3D7CCB #6E9DD8

Accessibility & contrast

On white

6.47
#2B5FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2B5FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA0
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA0#FFFFFF#000000##FFFFFF
##2B5FA01.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5fa0;
/* rgb */ color: rgb(43, 95, 160);
/* oklch */ color: oklch(48.4% 0.119 255.4);
Tailwind
colors: {
  custom: {
    50: '#748bbc',
    500: '#2b5fa0',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa0;
$custom-light: #748bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa0",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 160
  },
  "hsl": {
    "h": 213.333,
    "s": 57.635,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4838,
    "c": 0.11868,
    "h": 255.4
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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