#2B5FA4#2B5FA4

#2B5FA4 is a mid, vivid cyan. Relative luminance 0.114; OKLCH L 48.6% C 0.124 H 256.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2B5FA4
RGBrgb(43, 95, 164)
HSLhsl(214, 58%, 41%)
HSVhsv(214, 74%, 64%)
CMYKcmyk(73.8%, 42.1%, 0%, 35.7%)
CIE-LABlab(40.21, 7.06, -42.26)
CIE-LCHlch(40.21, 42.85, 279.49°)
OKLaboklab(48.64% -0.029 -0.1207)
OKLCHoklch(48.64% 0.124 256.5)
XYZxyz(11.7869, 11.3770, 36.6896)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5FA4 #A4702B
analogous
#2B9BA4 #2B5FA4 #342BA4
triadic
#2B5FA4 #A42B5F #5FA42B
tetradic
#2B5FA4 #A42B9B #A4702B #2BA434
square
#2B5FA4 #A42B9B #A4702B #2BA434
split-complementary
#2B5FA4 #A4342B #9BA42B
monochromatic
#122743 #1E4374 #2B5FA4 #3F7CCD #709DD9

Accessibility & contrast

On white

6.41
#2B5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2B5FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5FA4
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5FA4#FFFFFF#000000##FFFFFF
##2B5FA41.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#2A5AA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2b5fa4;
/* rgb */ color: rgb(43, 95, 164);
/* oklch */ color: oklch(48.6% 0.124 256.5);
Tailwind
colors: {
  custom: {
    50: '#748bbf',
    500: '#2b5fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b5fa4;
$custom-light: #748bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5fa4",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 164
  },
  "hsl": {
    "h": 214.215,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4864,
    "c": 0.12417,
    "h": 256.5
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

primary
#2B5FA4
secondary
#C19B6A
accent
#9F46E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2B5FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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