#2B5F8E#2B5F8E

#2B5F8E is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.3% C 0.094 H 248.4°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#2B5F8E
RGBrgb(43, 95, 142)
HSLhsl(208, 54%, 36%)
HSVhsv(208, 70%, 56%)
CMYKcmyk(69.7%, 33.1%, 0%, 44.3%)
CIE-LABlab(38.98, -1.20, -31.03)
CIE-LCHlch(38.98, 31.05, 267.78°)
OKLaboklab(47.28% -0.0348 -0.0879)
OKLCHoklch(47.28% 0.094 248.4)
XYZxyz(9.9691, 10.6500, 27.1162)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5F8E #8E5A2B
analogous
#2B8E8C #2B5F8E #2B2D8E
triadic
#2B5F8E #8E2B5F #5F8E2B
tetradic
#2B5F8E #8C2B8E #8E5A2B #2D8E2B
square
#2B5F8E #8C2B8E #8E5A2B #2D8E2B
split-complementary
#2B5F8E #8E2B2D #8E8C2B
monochromatic
#0F2030 #1D405F #2B5F8E #397EBD #639CD0

Accessibility & contrast

On white

6.71
#2B5F8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2B5F8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B5F8E
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5F8E#FFFFFF#000000##FFFFFF
##2B5F8E1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#3C588D
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2b5f8e;
/* rgb */ color: rgb(43, 95, 142);
/* oklch */ color: oklch(47.3% 0.094 248.4);
Tailwind
colors: {
  custom: {
    50: '#708caf',
    500: '#2b5f8e',
    950: '#000000',
  },
}
SCSS
$custom: #2b5f8e;
$custom-light: #708caf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5f8e",
  "rgb": {
    "r": 43,
    "g": 95,
    "b": 142
  },
  "hsl": {
    "h": 208.485,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47284,
    "c": 0.09448,
    "h": 248.4
  },
  "luminance": 0.10651
}

Semantic roles & 50–950 ramp

primary
#2B5F8E
secondary
#B6885F
accent
#904BDD
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2B5F8E

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

Preview Lab → · Contrast checker → · Palette generator →

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