#234897#234897

#234897 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.2% C 0.137 H 263.0°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#234897
RGBrgb(35, 72, 151)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 77%, 59%)
CMYKcmyk(76.8%, 52.3%, 0%, 40.8%)
CIE-LABlab(32.31, 16.17, -47.15)
CIE-LCHlch(32.31, 49.84, 288.93°)
OKLaboklab(42.21% -0.0167 -0.1357)
OKLCHoklch(42.21% 0.137 263)
XYZxyz(8.5944, 7.2255, 30.2139)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234897 #977223
analogous
#238297 #234897 #382397
triadic
#234897 #972348 #489723
tetradic
#234897 #972382 #977223 #239738
square
#234897 #972382 #977223 #239738
split-complementary
#234897 #973823 #829723
monochromatic
#0C1934 #173065 #234897 #2F60C9 #5B83D9

Accessibility & contrast

On white

8.59
#234897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#234897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234897
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234897#FFFFFF#000000##FFFFFF
##2348971.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234897;
/* rgb */ color: rgb(35, 72, 151);
/* oklch */ color: oklch(42.2% 0.137 263.0);
Tailwind
colors: {
  custom: {
    50: '#6f7ab6',
    500: '#234897',
    950: '#000000',
  },
}
SCSS
$custom: #234897;
$custom-light: #6f7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#234897",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 151
  },
  "hsl": {
    "h": 220.862,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.13669,
    "h": 263
  },
  "luminance": 0.07226
}

Semantic roles & 50–950 ramp

primary
#234897
secondary
#BE9D58
accent
#B142E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234897

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

Preview Lab → · Contrast checker → · Palette generator →

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