#234C87#234C87

#234C87 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.109 H 257.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#234C87
RGBrgb(35, 76, 135)
HSLhsl(215, 59%, 33%)
HSVhsv(215, 74%, 53%)
CMYKcmyk(74.1%, 43.7%, 0%, 47.1%)
CIE-LABlab(32.42, 7.15, -37.19)
CIE-LCHlch(32.42, 37.87, 280.88°)
OKLaboklab(41.95% -0.023 -0.1063)
OKLCHoklch(41.95% 0.109 257.8)
XYZxyz(7.6492, 7.2746, 23.9180)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C87 #875E23
analogous
#237E87 #234C87 #2C2387
triadic
#234C87 #87234C #4C8723
tetradic
#234C87 #87237E #875E23 #23872C
square
#234C87 #87237E #875E23 #23872C
split-complementary
#234C87 #872C23 #7E8723
monochromatic
#0A1526 #163156 #234C87 #3067B8 #5287D2

Accessibility & contrast

On white

8.55
#234C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#234C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C87
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C87#FFFFFF#000000##FFFFFF
##234C871.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305189
Deuteranopia (green-blind)
#1E4886
Tritanopia (blue-blind)
#005A63
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234c87;
/* rgb */ color: rgb(35, 76, 135);
/* oklch */ color: oklch(41.9% 0.109 257.8);
Tailwind
colors: {
  custom: {
    50: '#6c7daa',
    500: '#234c87',
    950: '#000000',
  },
}
SCSS
$custom: #234c87;
$custom-light: #6c7daa;
$custom-dark: #000000;
JSON
{
  "hex": "#234c87",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 215.4,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41947,
    "c": 0.10873,
    "h": 257.8
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#234C87
secondary
#B68C50
accent
#A246E2
background
#F6F7FA
surface
#ECEEF4
border
#C7C9CE
text
#080910
muted
#7A7B7F

Preview Lab

Preview with #234C87

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

Preview Lab → · Contrast checker → · Palette generator →

#234C87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva