#234789#234789

#234789 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.118 H 261.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#234789
RGBrgb(35, 71, 137)
HSLhsl(219, 59%, 34%)
HSVhsv(219, 74%, 54%)
CMYKcmyk(74.5%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.04, 11.31, -40.63)
CIE-LCHlch(31.04, 42.18, 285.56°)
OKLaboklab(40.92% -0.0178 -0.1165)
OKLCHoklch(40.92% 0.118 261.3)
XYZxyz(7.4601, 6.6691, 24.5562)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234789 #896523
analogous
#237A89 #234789 #322389
triadic
#234789 #892347 #478923
tetradic
#234789 #89237A #896523 #238932
square
#234789 #89237A #896523 #238932
split-complementary
#234789 #893223 #7A8923
monochromatic
#0A1428 #172E58 #234789 #2F60BA #5380D3

Accessibility & contrast

On white

9.00
#234789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#234789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234789
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234789#FFFFFF#000000##FFFFFF
##2347891.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#0B4588
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234789;
/* rgb */ color: rgb(35, 71, 137);
/* oklch */ color: oklch(40.9% 0.118 261.3);
Tailwind
colors: {
  custom: {
    50: '#6c79ac',
    500: '#234789',
    950: '#000000',
  },
}
SCSS
$custom: #234789;
$custom-light: #6c79ac;
$custom-dark: #000000;
JSON
{
  "hex": "#234789",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 218.824,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40922,
    "c": 0.11786,
    "h": 261.3
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#234789
secondary
#B79351
accent
#AB45E2
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234789

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

Preview Lab → · Contrast checker → · Palette generator →

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