#2B5F94#2B5F94

#2B5F94 is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.102 H 251.2°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#2B5F94
RGBrgb(43, 95, 148)
HSLhsl(210, 55%, 37%)
HSVhsv(210, 71%, 58%)
CMYKcmyk(70.9%, 35.8%, 0%, 42%)
CIE-LABlab(39.30, 1.03, -34.15)
CIE-LCHlch(39.30, 34.16, 271.72°)
OKLaboklab(47.64% -0.033 -0.0969)
OKLCHoklch(47.64% 0.102 251.2)
XYZxyz(10.4318, 10.8350, 29.5528)
Luminance0.1084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F94 #94602B
analogous
#2B9394 #2B5F94 #2C2B94
triadic
#2B5F94 #942B5F #5F942B
tetradic
#2B5F94 #942B93 #94602B #2B942C
square
#2B5F94 #942B93 #94602B #2B942C
split-complementary
#2B5F94 #942C2B #93942B
monochromatic
#0F2235 #1D4165 #2B5F94 #397DC3 #679CD3

Accessibility & contrast

On white

6.63
#2B5F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2B5F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F94
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F94#FFFFFF#000000##FFFFFF
##2B5F941.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#476296
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#006B72
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2b5f94;
/* rgb */ color: rgb(43, 95, 148);
/* oklch */ color: oklch(47.6% 0.102 251.2);
Tailwind
colors: {
  custom: {
    50: '#718cb3',
    500: '#2b5f94',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f94;
$custom-light: #718cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f94",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 148
  },
  "hsl": {
    "h": 210.286,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47637,
    "c": 0.10241,
    "h": 251.2
  },
  "luminance": 0.10836
}

Semantic roles & 50–950 ramp

primary
#2B5F94
secondary
#B98E62
accent
#9549DE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2B5F94

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

Preview Lab → · Contrast checker → · Palette generator →

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