#234895#234895

#234895 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.1% C 0.134 H 262.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#234895
RGBrgb(35, 72, 149)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 77%, 58%)
CMYKcmyk(76.5%, 51.7%, 0%, 41.6%)
CIE-LABlab(32.17, 15.38, -46.17)
CIE-LCHlch(32.17, 48.66, 288.42°)
OKLaboklab(42.05% -0.0169 -0.1328)
OKLCHoklch(42.05% 0.134 262.7)
XYZxyz(8.4334, 7.1610, 29.3657)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234895 #957023
analogous
#238195 #234895 #372395
triadic
#234895 #952348 #489523
tetradic
#234895 #952381 #957023 #239537
square
#234895 #952381 #957023 #239537
split-complementary
#234895 #953723 #819523
monochromatic
#0C1832 #173063 #234895 #2F60C7 #5A83D8

Accessibility & contrast

On white

8.63
#234895 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#234895 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234895
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234895#FFFFFF#000000##FFFFFF
##2348951.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185198
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234895;
/* rgb */ color: rgb(35, 72, 149);
/* oklch */ color: oklch(42.1% 0.134 262.7);
Tailwind
colors: {
  custom: {
    50: '#6f7ab5',
    500: '#234895',
    950: '#000000',
  },
}
SCSS
$custom: #234895;
$custom-light: #6f7ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#234895",
  "rgb": {
    "r": 35,
    "g": 72,
    "b": 149
  },
  "hsl": {
    "h": 220.526,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42053,
    "c": 0.13384,
    "h": 262.7
  },
  "luminance": 0.07162
}

Semantic roles & 50–950 ramp

primary
#234895
secondary
#BD9C57
accent
#B043E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234895

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

Preview Lab → · Contrast checker → · Palette generator →

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