#234C97#234C97

#234C97 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.1% C 0.132 H 261.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#234C97
RGBrgb(35, 76, 151)
HSLhsl(219, 62%, 36%)
HSVhsv(219, 77%, 59%)
CMYKcmyk(76.8%, 49.7%, 0%, 40.8%)
CIE-LABlab(33.48, 13.46, -45.27)
CIE-LCHlch(33.48, 47.23, 286.56°)
OKLaboklab(43.1% -0.02 -0.1301)
OKLCHoklch(43.1% 0.132 261.2)
XYZxyz(8.8615, 7.7596, 30.3029)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234C97 #976E23
analogous
#238697 #234C97 #342397
triadic
#234C97 #97234C #4C9723
tetradic
#234C97 #972386 #976E23 #239734
square
#234C97 #972386 #976E23 #239734
split-complementary
#234C97 #973423 #869723
monochromatic
#0C1A34 #173365 #234C97 #2F65C9 #5B88D9

Accessibility & contrast

On white

8.23
#234C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#234C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234C97
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234C97#FFFFFF#000000##FFFFFF
##234C971.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#004A95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #234c97;
/* rgb */ color: rgb(35, 76, 151);
/* oklch */ color: oklch(43.1% 0.132 261.2);
Tailwind
colors: {
  custom: {
    50: '#6f7db6',
    500: '#234c97',
    950: '#000000',
  },
}
SCSS
$custom: #234c97;
$custom-light: #6f7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#234c97",
  "rgb": {
    "r": 35,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 218.793,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43097,
    "c": 0.1316,
    "h": 261.2
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#234C97
secondary
#BE9A58
accent
#AC42E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234C97

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

Preview Lab → · Contrast checker → · Palette generator →

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