#234899#234899

#234899 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.140 H 263.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#234899
RGBrgb(35, 72, 153)
HSLhsl(221, 63%, 37%)
HSVhsv(221, 77%, 60%)
CMYKcmyk(77.1%, 52.9%, 0%, 40%)
CIE-LABlab(32.46, 16.96, -48.13)
CIE-LCHlch(32.46, 51.03, 289.41°)
OKLaboklab(42.37% -0.0164 -0.1385)
OKLCHoklch(42.37% 0.14 263.2)
XYZxyz(8.7582, 7.2910, 31.0765)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234899 #997423
analogous
#238399 #234899 #392399
triadic
#234899 #992348 #489923
tetradic
#234899 #992383 #997423 #239939
square
#234899 #992383 #997423 #239939
split-complementary
#234899 #993923 #839923
monochromatic
#0C1935 #183167 #234899 #2E5FCB #5D84DA

Accessibility & contrast

On white

8.54
#234899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#234899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234899
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234899#FFFFFF#000000##FFFFFF
##2348991.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234899;
/* rgb */ color: rgb(35, 72, 153);
/* oklch */ color: oklch(42.4% 0.140 263.2);
Tailwind
colors: {
  custom: {
    50: '#707ab8',
    500: '#234899',
    950: '#000000',
  },
}
SCSS
$custom: #234899;
$custom-light: #707ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#234899",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 153
  },
  "hsl": {
    "h": 221.186,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.13952,
    "h": 263.2
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#234899
secondary
#BE9F59
accent
#B242E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #234899

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

Preview Lab → · Contrast checker → · Palette generator →

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