#234497#234497

#234497 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.142 H 264.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#234497
RGBrgb(35, 68, 151)
HSLhsl(223, 62%, 36%)
HSVhsv(223, 77%, 59%)
CMYKcmyk(76.8%, 55%, 0%, 40.8%)
CIE-LABlab(31.17, 18.89, -49.00)
CIE-LCHlch(31.17, 52.51, 291.08°)
OKLaboklab(41.34% -0.0134 -0.1412)
OKLCHoklch(41.34% 0.142 264.6)
XYZxyz(8.3442, 6.7250, 30.1304)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234497 #977623
analogous
#237E97 #234497 #3C2397
triadic
#234497 #972344 #449723
tetradic
#234497 #97237E #977623 #23973C
square
#234497 #97237E #977623 #23973C
split-complementary
#234497 #973C23 #7E9723
monochromatic
#0C1734 #172E65 #234497 #2F5AC9 #5B7FD9

Accessibility & contrast

On white

8.95
#234497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#234497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234497
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234497#FFFFFF#000000##FFFFFF
##2344971.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#004495
Tritanopia (blue-blind)
#005866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #234497;
/* rgb */ color: rgb(35, 68, 151);
/* oklch */ color: oklch(41.3% 0.142 264.6);
Tailwind
colors: {
  custom: {
    50: '#7077b6',
    500: '#234497',
    950: '#000000',
  },
}
SCSS
$custom: #234497;
$custom-light: #7077b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234497",
  "rgb": {
    "r": 35,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 222.931,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.41342,
    "c": 0.14182,
    "h": 264.6
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#234497
secondary
#BEA158
accent
#B742E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234497

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

Preview Lab → · Contrast checker → · Palette generator →

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