#234875#234875

#234875 is a dark, moderate cyan. Relative luminance 0.063; OKLCH L 39.8% C 0.088 H 254.6°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#234875
RGBrgb(35, 72, 117)
HSLhsl(213, 54%, 30%)
HSVhsv(213, 70%, 46%)
CMYKcmyk(70.1%, 38.5%, 0%, 54.1%)
CIE-LABlab(30.10, 2.79, -29.69)
CIE-LCHlch(30.10, 29.82, 275.38°)
OKLaboklab(39.79% -0.0232 -0.0844)
OKLCHoklch(39.79% 0.088 254.6)
XYZxyz(6.2202, 6.2758, 17.7097)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234875 #755023
analogous
#237175 #234875 #272375
triadic
#234875 #752348 #487523
tetradic
#234875 #752371 #755023 #237527
square
#234875 #752371 #755023 #237527
split-complementary
#234875 #752723 #717523
monochromatic
#070E18 #152B46 #234875 #3165A4 #4A83C9

Accessibility & contrast

On white

9.31
#234875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#234875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234875
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234875#FFFFFF#000000##FFFFFF
##2348751.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344B77
Deuteranopia (green-blind)
#284374
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234875;
/* rgb */ color: rgb(35, 72, 117);
/* oklch */ color: oklch(39.8% 0.088 254.6);
Tailwind
colors: {
  custom: {
    50: '#687a9d',
    500: '#234875',
    950: '#000000',
  },
}
SCSS
$custom: #234875;
$custom-light: #687a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#234875",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 117
  },
  "hsl": {
    "h": 212.927,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39786,
    "c": 0.08752,
    "h": 254.6
  },
  "luminance": 0.06276
}

Semantic roles & 50–950 ramp

primary
#234875
secondary
#A87E4C
accent
#9B4ADD
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234875

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

Preview Lab → · Contrast checker → · Palette generator →

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