#234894#234894

#234894 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.0% C 0.132 H 262.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#234894
RGBrgb(35, 72, 148)
HSLhsl(220, 62%, 36%)
HSVhsv(220, 76%, 58%)
CMYKcmyk(76.4%, 51.4%, 0%, 42%)
CIE-LABlab(32.10, 14.98, -45.67)
CIE-LCHlch(32.10, 48.07, 288.16°)
OKLaboklab(41.98% -0.017 -0.1313)
OKLCHoklch(41.98% 0.132 262.6)
XYZxyz(8.3539, 7.1292, 28.9470)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234894 #946F23
analogous
#238094 #234894 #362394
triadic
#234894 #942348 #489423
tetradic
#234894 #942380 #946F23 #239436
square
#234894 #942380 #946F23 #239436
split-complementary
#234894 #943623 #809423
monochromatic
#0C1831 #173063 #234894 #2F60C5 #5A83D8

Accessibility & contrast

On white

8.66
#234894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#234894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234894
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234894#FFFFFF#000000##FFFFFF
##2348941.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5197
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234894;
/* rgb */ color: rgb(35, 72, 148);
/* oklch */ color: oklch(42.0% 0.132 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7ab4',
    500: '#234894',
    950: '#000000',
  },
}
SCSS
$custom: #234894;
$custom-light: #6f7ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#234894",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 148
  },
  "hsl": {
    "h": 220.354,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41976,
    "c": 0.13242,
    "h": 262.6
  },
  "luminance": 0.0713
}

Semantic roles & 50–950 ramp

primary
#234894
secondary
#BC9B57
accent
#B043E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234894

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

Preview Lab → · Contrast checker → · Palette generator →

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