#234795#234795

#234795 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.135 H 263.2°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#234795
RGBrgb(35, 71, 149)
HSLhsl(221, 62%, 36%)
HSVhsv(221, 77%, 58%)
CMYKcmyk(76.5%, 52.3%, 0%, 41.6%)
CIE-LABlab(31.88, 16.06, -46.63)
CIE-LCHlch(31.88, 49.32, 289.00°)
OKLaboklab(41.83% -0.0161 -0.1342)
OKLCHoklch(41.83% 0.135 263.2)
XYZxyz(8.3693, 7.0328, 29.3443)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234795 #957123
analogous
#238095 #234795 #382395
triadic
#234795 #952347 #479523
tetradic
#234795 #952380 #957123 #239538
square
#234795 #952380 #957123 #239538
split-complementary
#234795 #953823 #809523
monochromatic
#0C1832 #172F63 #234795 #2F5FC7 #5A82D8

Accessibility & contrast

On white

8.73
#234795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#234795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234795
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234795#FFFFFF#000000##FFFFFF
##2347951.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155198
Deuteranopia (green-blind)
#004693
Tritanopia (blue-blind)
#005A67
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #234795;
/* rgb */ color: rgb(35, 71, 149);
/* oklch */ color: oklch(41.8% 0.135 263.2);
Tailwind
colors: {
  custom: {
    50: '#6f79b5',
    500: '#234795',
    950: '#000000',
  },
}
SCSS
$custom: #234795;
$custom-light: #6f79b5;
$custom-dark: #000000;
JSON
{
  "hex": "#234795",
  "rgb": {
    "r": 35,
    "g": 71,
    "b": 149
  },
  "hsl": {
    "h": 221.053,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.13513,
    "h": 263.2
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#234795
secondary
#BD9D57
accent
#B243E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234795

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

Preview Lab → · Contrast checker → · Palette generator →

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