#234C8D#234C8D

#234C8D is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.117 H 259.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#234C8D
RGBrgb(35, 76, 141)
HSLhsl(217, 60%, 35%)
HSVhsv(217, 75%, 55%)
CMYKcmyk(75.2%, 46.1%, 0%, 44.7%)
CIE-LABlab(32.81, 9.51, -40.26)
CIE-LCHlch(32.81, 41.36, 283.29°)
OKLaboklab(42.37% -0.0217 -0.1153)
OKLCHoklch(42.37% 0.117 259.3)
XYZxyz(8.0836, 7.4484, 26.2058)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C8D #8D6423
analogous
#23818D #234C8D #2F238D
triadic
#234C8D #8D234C #4C8D23
tetradic
#234C8D #8D2381 #8D6423 #238D2F
square
#234C8D #8D2381 #8D6423 #238D2F
split-complementary
#234C8D #8D2F23 #818D23
monochromatic
#0B172B #17325C #234C8D #2F66BE #5587D5

Accessibility & contrast

On white

8.43
#234C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#234C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C8D
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C8D#FFFFFF#000000##FFFFFF
##234C8D1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#15498C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234c8d;
/* rgb */ color: rgb(35, 76, 141);
/* oklch */ color: oklch(42.4% 0.117 259.3);
Tailwind
colors: {
  custom: {
    50: '#6d7daf',
    500: '#234c8d',
    950: '#000000',
  },
}
SCSS
$custom: #234c8d;
$custom-light: #6d7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#234c8d",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 216.792,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.11734,
    "h": 259.3
  },
  "luminance": 0.07449
}

Semantic roles & 50–950 ramp

primary
#234C8D
secondary
#B99153
accent
#A644E3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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