#234997#234997

#234997 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.4% C 0.135 H 262.6°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#234997
RGBrgb(35, 73, 151)
HSLhsl(220, 62%, 36%)
HSVhsv(220, 77%, 59%)
CMYKcmyk(76.8%, 51.7%, 0%, 40.8%)
CIE-LABlab(32.60, 15.49, -46.68)
CIE-LCHlch(32.60, 49.18, 288.36°)
OKLaboklab(42.43% -0.0175 -0.1343)
OKLCHoklch(42.43% 0.135 262.6)
XYZxyz(8.6596, 7.3558, 30.2356)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234997 #977123
analogous
#238397 #234997 #372397
triadic
#234997 #972349 #499723
tetradic
#234997 #972383 #977123 #239737
square
#234997 #972383 #977123 #239737
split-complementary
#234997 #973723 #839723
monochromatic
#0C1934 #173165 #234997 #2F61C9 #5B85D9

Accessibility & contrast

On white

8.50
#234997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#234997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234997
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234997#FFFFFF#000000##FFFFFF
##2349971.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18529A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234997;
/* rgb */ color: rgb(35, 73, 151);
/* oklch */ color: oklch(42.4% 0.135 262.6);
Tailwind
colors: {
  custom: {
    50: '#6f7bb6',
    500: '#234997',
    950: '#000000',
  },
}
SCSS
$custom: #234997;
$custom-light: #6f7bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#234997",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 151
  },
  "hsl": {
    "h": 220.345,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42429,
    "c": 0.13541,
    "h": 262.6
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#234997
secondary
#BE9C58
accent
#B042E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234997

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

Preview Lab → · Contrast checker → · Palette generator →

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