#234095#234095

#234095 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.144 H 265.8°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#234095
RGBrgb(35, 64, 149)
HSLhsl(225, 62%, 36%)
HSVhsv(225, 77%, 58%)
CMYKcmyk(76.5%, 57%, 0%, 41.6%)
CIE-LABlab(29.89, 20.84, -49.85)
CIE-LCHlch(29.89, 54.03, 292.68°)
OKLaboklab(40.33% -0.0104 -0.1438)
OKLCHoklch(40.33% 0.144 265.8)
XYZxyz(7.9494, 6.1932, 29.2044)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234095 #957823
analogous
#237995 #234095 #3F2395
triadic
#234095 #952340 #409523
tetradic
#234095 #952379 #957823 #23953F
square
#234095 #952379 #957823 #23953F
split-complementary
#234095 #953F23 #799523
monochromatic
#0C1532 #172B63 #234095 #2F55C7 #5A7AD8

Accessibility & contrast

On white

9.38
#234095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#234095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234095
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234095#FFFFFF#000000##FFFFFF
##2340951.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #234095;
/* rgb */ color: rgb(35, 64, 149);
/* oklch */ color: oklch(40.3% 0.144 265.8);
Tailwind
colors: {
  custom: {
    50: '#6f74b5',
    500: '#234095',
    950: '#000000',
  },
}
SCSS
$custom: #234095;
$custom-light: #6f74b5;
$custom-dark: #000000;
JSON
{
  "hex": "#234095",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 149
  },
  "hsl": {
    "h": 224.737,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.40329,
    "c": 0.14414,
    "h": 265.8
  },
  "luminance": 0.06194
}

Semantic roles & 50–950 ramp

primary
#234095
secondary
#BDA357
accent
#BC43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #234095

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

Preview Lab → · Contrast checker → · Palette generator →

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