#2D5B94#2D5B94

#2D5B94 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.8% C 0.106 H 255.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#2D5B94
RGBrgb(45, 91, 148)
HSLhsl(213, 53%, 38%)
HSVhsv(213, 70%, 58%)
CMYKcmyk(69.6%, 38.5%, 0%, 42%)
CIE-LABlab(38.16, 3.90, -35.95)
CIE-LCHlch(38.16, 36.16, 276.20°)
OKLaboklab(46.77% -0.0274 -0.1023)
OKLCHoklch(46.77% 0.106 255)
XYZxyz(10.1666, 10.1771, 29.4398)
Luminance0.1018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5B94 #94662D
analogous
#2D8E94 #2D5B94 #322D94
triadic
#2D5B94 #942D5B #5B942D
tetradic
#2D5B94 #942D8E #94662D #2D9432
square
#2D5B94 #942D8E #94662D #2D9432
split-complementary
#2D5B94 #94322D #8E942D
monochromatic
#102136 #1F3E65 #2D5B94 #3B78C3 #6A98D2

Accessibility & contrast

On white

6.92
#2D5B94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2D5B94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D5B94
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5B94#FFFFFF#000000##FFFFFF
##2D5B941.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415F96
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#006870
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2d5b94;
/* rgb */ color: rgb(45, 91, 148);
/* oklch */ color: oklch(46.8% 0.106 255.0);
Tailwind
colors: {
  custom: {
    50: '#7289b4',
    500: '#2d5b94',
    950: '#000000',
  },
}
SCSS
$custom: #2d5b94;
$custom-light: #7289b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5b94",
  "rgb": {
    "r": 45,
    "g": 91,
    "b": 148
  },
  "hsl": {
    "h": 213.204,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46765,
    "c": 0.10586,
    "h": 255
  },
  "luminance": 0.10178
}

Semantic roles & 50–950 ramp

primary
#2D5B94
secondary
#B89364
accent
#9C4BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2D5B94

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

Preview Lab → · Contrast checker → · Palette generator →

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