#2D5F9E#2D5F9E

#2D5F9E is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.3% C 0.115 H 255.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#2D5F9E
RGBrgb(45, 95, 158)
HSLhsl(213, 56%, 40%)
HSVhsv(213, 72%, 62%)
CMYKcmyk(71.5%, 39.9%, 0%, 38%)
CIE-LABlab(39.93, 5.09, -39.13)
CIE-LCHlch(39.93, 39.46, 277.41°)
OKLaboklab(48.33% -0.0289 -0.1115)
OKLCHoklch(48.33% 0.115 255.5)
XYZxyz(11.3437, 11.2097, 33.9070)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5F9E #9E6C2D
analogous
#2D989E #2D5F9E #332D9E
triadic
#2D5F9E #9E2D5F #5F9E2D
tetradic
#2D5F9E #9E2D98 #9E6C2D #2D9E33
square
#2D5F9E #9E2D98 #9E6C2D #2D9E33
split-complementary
#2D5F9E #9E332D #989E2D
monochromatic
#12263F #1F426E #2D5F9E #407CC9 #6F9DD6

Accessibility & contrast

On white

6.48
#2D5F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2D5F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5F9E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5F9E#FFFFFF#000000##FFFFFF
##2D5F9E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#31599D
Tritanopia (blue-blind)
#006E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2d5f9e;
/* rgb */ color: rgb(45, 95, 158);
/* oklch */ color: oklch(48.3% 0.115 255.5);
Tailwind
colors: {
  custom: {
    50: '#748cbb',
    500: '#2d5f9e',
    950: '#000000',
  },
}
SCSS
$custom: #2d5f9e;
$custom-light: #748cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5f9e",
  "rgb": {
    "r": 45,
    "g": 95,
    "b": 158
  },
  "hsl": {
    "h": 213.451,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48331,
    "c": 0.11521,
    "h": 255.5
  },
  "luminance": 0.11211
}

Semantic roles & 50–950 ramp

primary
#2D5F9E
secondary
#BD9869
accent
#9D49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2D5F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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