#234797#234797

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

Color values

HEX#234797
RGBrgb(35, 71, 151)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 77%, 59%)
CMYKcmyk(76.8%, 53%, 0%, 40.8%)
CIE-LABlab(32.03, 16.85, -47.61)
CIE-LCHlch(32.03, 50.51, 289.49°)
OKLaboklab(41.99% -0.0158 -0.137)
OKLCHoklch(41.99% 0.138 263.4)
XYZxyz(8.5303, 7.0972, 30.1925)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234797 #977323
analogous
#238197 #234797 #392397
triadic
#234797 #972347 #479723
tetradic
#234797 #972381 #977323 #239739
square
#234797 #972381 #977323 #239739
split-complementary
#234797 #973923 #819723
monochromatic
#0C1834 #173065 #234797 #2F5EC9 #5B82D9

Accessibility & contrast

On white

8.68
#234797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#234797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234797
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234797#FFFFFF#000000##FFFFFF
##2347971.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11519A
Deuteranopia (green-blind)
#004695
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234797;
/* rgb */ color: rgb(35, 71, 151);
/* oklch */ color: oklch(42.0% 0.138 263.4);
Tailwind
colors: {
  custom: {
    50: '#6f79b6',
    500: '#234797',
    950: '#000000',
  },
}
SCSS
$custom: #234797;
$custom-light: #6f79b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234797",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 221.379,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4199,
    "c": 0.13796,
    "h": 263.4
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#234797
secondary
#BE9E58
accent
#B342E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234797

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

Preview Lab → · Contrast checker → · Palette generator →

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