#234995#234995

#234995 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.133 H 262.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#234995
RGBrgb(35, 73, 149)
HSLhsl(220, 62%, 36%)
HSVhsv(220, 77%, 58%)
CMYKcmyk(76.5%, 51%, 0%, 41.6%)
CIE-LABlab(32.46, 14.70, -45.70)
CIE-LCHlch(32.46, 48.00, 287.83°)
OKLaboklab(42.28% -0.0178 -0.1314)
OKLCHoklch(42.28% 0.133 262.3)
XYZxyz(8.4986, 7.2914, 29.3874)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234995 #956F23
analogous
#238295 #234995 #362395
triadic
#234995 #952349 #499523
tetradic
#234995 #952382 #956F23 #239536
square
#234995 #952382 #956F23 #239536
split-complementary
#234995 #953623 #829523
monochromatic
#0C1832 #173163 #234995 #2F61C7 #5A84D8

Accessibility & contrast

On white

8.54
#234995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#234995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234995
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234995#FFFFFF#000000##FFFFFF
##2349951.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#004793
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #234995;
/* rgb */ color: rgb(35, 73, 149);
/* oklch */ color: oklch(42.3% 0.133 262.3);
Tailwind
colors: {
  custom: {
    50: '#6f7bb5',
    500: '#234995',
    950: '#000000',
  },
}
SCSS
$custom: #234995;
$custom-light: #6f7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#234995",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 149
  },
  "hsl": {
    "h": 220,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42275,
    "c": 0.13257,
    "h": 262.3
  },
  "luminance": 0.07292
}

Semantic roles & 50–950 ramp

primary
#234995
secondary
#BD9B57
accent
#AF43E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#080911
muted
#7B7B80

Preview Lab

Preview with #234995

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

Preview Lab → · Contrast checker → · Palette generator →

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