#234779#234779

#234779 is a dark, moderate cyan. Relative luminance 0.062; OKLCH L 39.8% C 0.095 H 257.1°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#234779
RGBrgb(35, 71, 121)
HSLhsl(215, 55%, 31%)
HSVhsv(215, 71%, 47%)
CMYKcmyk(71.1%, 41.3%, 0%, 52.5%)
CIE-LABlab(30.02, 5.02, -32.33)
CIE-LCHlch(30.02, 32.72, 278.82°)
OKLaboklab(39.8% -0.0211 -0.0921)
OKLCHoklch(39.8% 0.095 257.1)
XYZxyz(6.3963, 6.2436, 18.9535)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234779 #795523
analogous
#237279 #234779 #2A2379
triadic
#234779 #792347 #477923
tetradic
#234779 #792372 #795523 #23792A
square
#234779 #792372 #795523 #23792A
split-complementary
#234779 #792A23 #727923
monochromatic
#080F1A #152B4A #234779 #3163A8 #4B81CB

Accessibility & contrast

On white

9.34
#234779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#234779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234779
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234779#FFFFFF#000000##FFFFFF
##2347791.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304B7B
Deuteranopia (green-blind)
#234378
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234779;
/* rgb */ color: rgb(35, 71, 121);
/* oklch */ color: oklch(39.8% 0.095 257.1);
Tailwind
colors: {
  custom: {
    50: '#6979a0',
    500: '#234779',
    950: '#000000',
  },
}
SCSS
$custom: #234779;
$custom-light: #6979a0;
$custom-dark: #000000;
JSON
{
  "hex": "#234779",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 121
  },
  "hsl": {
    "h": 214.884,
    "s": 55.128,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39802,
    "c": 0.0945,
    "h": 257.1
  },
  "luminance": 0.06244
}

Semantic roles & 50–950 ramp

primary
#234779
secondary
#AC844C
accent
#A049DE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234779

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

Preview Lab → · Contrast checker → · Palette generator →

#234779 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva