#2D5E9F#2D5E9F

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

Color values

HEX#2D5E9F
RGBrgb(45, 94, 159)
HSLhsl(214, 56%, 40%)
HSVhsv(214, 72%, 62%)
CMYKcmyk(71.7%, 40.9%, 0%, 37.6%)
CIE-LABlab(39.69, 6.11, -40.11)
CIE-LCHlch(39.69, 40.57, 278.66°)
OKLaboklab(48.16% -0.0277 -0.1144)
OKLCHoklch(48.16% 0.118 256.4)
XYZxyz(11.3406, 11.0653, 34.3323)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5E9F #9F6E2D
analogous
#2D979F #2D5E9F #352D9F
triadic
#2D5E9F #9F2D5E #5E9F2D
tetradic
#2D5E9F #9F2D97 #9F6E2D #2D9F35
square
#2D5E9F #9F2D97 #9F6E2D #2D9F35
split-complementary
#2D5E9F #9F352D #979F2D
monochromatic
#122640 #20426F #2D5E9F #407BC9 #709CD6

Accessibility & contrast

On white

6.54
#2D5E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2D5E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5E9F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5E9F#FFFFFF#000000##FFFFFF
##2D5E9F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4063A2
Deuteranopia (green-blind)
#2E599E
Tritanopia (blue-blind)
#006D77
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2d5e9f;
/* rgb */ color: rgb(45, 94, 159);
/* oklch */ color: oklch(48.2% 0.118 256.4);
Tailwind
colors: {
  custom: {
    50: '#748bbc',
    500: '#2d5e9f',
    950: '#000000',
  },
}
SCSS
$custom: #2d5e9f;
$custom-light: #748bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5e9f",
  "rgb": {
    "r": 45,
    "g": 94,
    "b": 159
  },
  "hsl": {
    "h": 214.211,
    "s": 55.882,
    "l": 40
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.11772,
    "h": 256.4
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#2D5E9F
secondary
#BE9A6A
accent
#9E49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2D5E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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