#30838B#30838B

#30838B is a mid, moderate teal. Relative luminance 0.187; OKLCH L 56.4% C 0.079 H 204.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#30838B
RGBrgb(48, 131, 139)
HSLhsl(185, 49%, 37%)
HSVhsv(185, 65%, 55%)
CMYKcmyk(65.5%, 5.8%, 0%, 45.5%)
CIE-LABlab(50.36, -22.03, -11.69)
CIE-LCHlch(50.36, 24.94, 207.96°)
OKLaboklab(56.37% -0.0723 -0.0324)
OKLCHoklch(56.37% 0.079 204.1)
XYZxyz(13.9934, 18.7235, 27.2976)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30838B #8B3830
analogous
#308B66 #30838B #30568B
triadic
#30838B #8B3083 #838B30
tetradic
#30838B #66308B #8B3830 #568B30
square
#30838B #66308B #8B3830 #568B30
split-complementary
#30838B #8B3056 #8B6630
monochromatic
#112D30 #20585E #30838B #40AEB8 #6AC3CC

Accessibility & contrast

On white

4.43
#30838B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#30838B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #30838B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30838B#FFFFFF#000000##000000
##30838B1.004.434.754.75
#FFFFFF4.431.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#797E8C
Deuteranopia (green-blind)
#6B748B
Tritanopia (blue-blind)
#008885
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #30838b;
/* rgb */ color: rgb(48, 131, 139);
/* oklch */ color: oklch(56.4% 0.079 204.1);
Tailwind
colors: {
  custom: {
    50: '#74a7ac',
    500: '#30838b',
    950: '#000000',
  },
}
SCSS
$custom: #30838b;
$custom-light: #74a7ac;
$custom-dark: #000000;
JSON
{
  "hex": "#30838b",
  "rgb": {
    "r": 48,
    "g": 131,
    "b": 139
  },
  "hsl": {
    "h": 185.275,
    "s": 48.663,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56366,
    "c": 0.07925,
    "h": 204.1
  },
  "luminance": 0.18725
}

Semantic roles & 50–950 ramp

primary
#30838B
secondary
#B36B64
accent
#5C50D8
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #30838B

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

Preview Lab → · Contrast checker → · Palette generator →

#30838B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva