#2D5F9C#2D5F9C

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

Color values

HEX#2D5F9C
RGBrgb(45, 95, 156)
HSLhsl(213, 55%, 39%)
HSVhsv(213, 71%, 61%)
CMYKcmyk(71.2%, 39.1%, 0%, 38.8%)
CIE-LABlab(39.82, 4.34, -38.12)
CIE-LCHlch(39.82, 38.36, 276.49°)
OKLaboklab(48.21% -0.0294 -0.1085)
OKLCHoklch(48.21% 0.112 254.8)
XYZxyz(11.1729, 11.1414, 33.0077)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F9C #9C6A2D
analogous
#2D979C #2D5F9C #332D9C
triadic
#2D5F9C #9C2D5F #5F9C2D
tetradic
#2D5F9C #9C2D97 #9C6A2D #2D9C33
square
#2D5F9C #9C2D97 #9C6A2D #2D9C33
split-complementary
#2D5F9C #9C332D #979C2D
monochromatic
#12253D #1F426D #2D5F9C #3F7CC8 #6E9DD5

Accessibility & contrast

On white

6.50
#2D5F9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2D5F9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F9C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F9C#FFFFFF#000000##FFFFFF
##2D5F9C1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#32599B
Tritanopia (blue-blind)
#006D76
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5f9c;
/* rgb */ color: rgb(45, 95, 156);
/* oklch */ color: oklch(48.2% 0.112 254.8);
Tailwind
colors: {
  custom: {
    50: '#748cb9',
    500: '#2d5f9c',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f9c;
$custom-light: #748cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f9c",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 156
  },
  "hsl": {
    "h": 212.973,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.48205,
    "c": 0.11247,
    "h": 254.8
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#2D5F9C
secondary
#BC9768
accent
#9B49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D5F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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