#2D638E#2D638E

#2D638E is a mid, moderate cyan. Relative luminance 0.114; OKLCH L 48.3% C 0.090 H 245.3°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#2D638E
RGBrgb(45, 99, 142)
HSLhsl(207, 52%, 37%)
HSVhsv(207, 68%, 56%)
CMYKcmyk(68.3%, 30.3%, 0%, 44.3%)
CIE-LABlab(40.30, -3.34, -28.96)
CIE-LCHlch(40.30, 29.15, 263.42°)
OKLaboklab(48.34% -0.0376 -0.0818)
OKLCHoklch(48.34% 0.09 245.3)
XYZxyz(10.4247, 11.4335, 27.2434)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D638E #8E582D
analogous
#2D8E89 #2D638E #2D338E
triadic
#2D638E #8E2D63 #638E2D
tetradic
#2D638E #892D8E #8E582D #338E2D
square
#2D638E #892D8E #8E582D #338E2D
split-complementary
#2D638E #8E2D33 #8E892D
monochromatic
#102231 #1E4360 #2D638E #3C83BC #67A1CF

Accessibility & contrast

On white

6.39
#2D638E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#2D638E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D638E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D638E#FFFFFF#000000##FFFFFF
##2D638E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506490
Deuteranopia (green-blind)
#435B8D
Tritanopia (blue-blind)
#006D72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2d638e;
/* rgb */ color: rgb(45, 99, 142);
/* oklch */ color: oklch(48.3% 0.090 245.3);
Tailwind
colors: {
  custom: {
    50: '#718faf',
    500: '#2d638e',
    950: '#000000',
  },
}
SCSS
$custom: #2d638e;
$custom-light: #718faf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d638e",
  "rgb": {
    "r": 45,
    "g": 99,
    "b": 142
  },
  "hsl": {
    "h": 206.598,
    "s": 51.872,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48342,
    "c": 0.09,
    "h": 245.3
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#2D638E
secondary
#B58761
accent
#8C4CDB
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#080C10
muted
#7B7D7F

Preview Lab

Preview with #2D638E

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

Preview Lab → · Contrast checker → · Palette generator →

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