#234678#234678

#234678 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.094 H 257.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#234678
RGBrgb(35, 70, 120)
HSLhsl(215, 55%, 30%)
HSVhsv(215, 71%, 47%)
CMYKcmyk(70.8%, 41.7%, 0%, 52.9%)
CIE-LABlab(29.65, 5.30, -32.29)
CIE-LCHlch(29.65, 32.73, 279.32°)
OKLaboklab(39.49% -0.0203 -0.092)
OKLCHoklch(39.49% 0.094 257.6)
XYZxyz(6.2722, 6.0931, 18.6112)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234678 #785523
analogous
#237078 #234678 #2A2378
triadic
#234678 #782346 #467823
tetradic
#234678 #782370 #785523 #23782A
square
#234678 #782370 #785523 #23782A
split-complementary
#234678 #782A23 #707823
monochromatic
#070F19 #152A49 #234678 #3162A7 #4B7FCA

Accessibility & contrast

On white

9.46
#234678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#234678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234678
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234678#FFFFFF#000000##FFFFFF
##2346781.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4A7A
Deuteranopia (green-blind)
#224277
Tritanopia (blue-blind)
#005259
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #234678;
/* rgb */ color: rgb(35, 70, 120);
/* oklch */ color: oklch(39.5% 0.094 257.6);
Tailwind
colors: {
  custom: {
    50: '#69799f',
    500: '#234678',
    950: '#000000',
  },
}
SCSS
$custom: #234678;
$custom-light: #69799f;
$custom-dark: #000000;
JSON
{
  "hex": "#234678",
  "rgb": {
    "r": 35,
    "g": 70,
    "b": 120
  },
  "hsl": {
    "h": 215.294,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.39492,
    "c": 0.09424,
    "h": 257.6
  },
  "luminance": 0.06094
}

Semantic roles & 50–950 ramp

primary
#234678
secondary
#AB844C
accent
#A14ADE
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #234678

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

Preview Lab → · Contrast checker → · Palette generator →

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