#234C8F#234C8F

#234C8F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.5% C 0.120 H 259.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#234C8F
RGBrgb(35, 76, 143)
HSLhsl(217, 61%, 35%)
HSVhsv(217, 76%, 56%)
CMYKcmyk(75.5%, 46.9%, 0%, 43.9%)
CIE-LABlab(32.94, 10.30, -41.27)
CIE-LCHlch(32.94, 42.54, 284.01°)
OKLaboklab(42.51% -0.0214 -0.1183)
OKLCHoklch(42.51% 0.12 259.8)
XYZxyz(8.2337, 7.5085, 26.9966)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C8F #8F6623
analogous
#23828F #234C8F #30238F
triadic
#234C8F #8F234C #4C8F23
tetradic
#234C8F #8F2382 #8F6623 #238F30
square
#234C8F #8F2382 #8F6623 #238F30
split-complementary
#234C8F #8F3023 #828F23
monochromatic
#0B182D #17325E #234C8F #2F66C0 #5787D6

Accessibility & contrast

On white

8.39
#234C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#234C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C8F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C8F#FFFFFF#000000##FFFFFF
##234C8F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#11498E
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234c8f;
/* rgb */ color: rgb(35, 76, 143);
/* oklch */ color: oklch(42.5% 0.120 259.8);
Tailwind
colors: {
  custom: {
    50: '#6d7db0',
    500: '#234c8f',
    950: '#000000',
  },
}
SCSS
$custom: #234c8f;
$custom-light: #6d7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#234c8f",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 217.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42509,
    "c": 0.1202,
    "h": 259.8
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#234C8F
secondary
#BA9354
accent
#A744E4
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #234C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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