#234996#234996

#234996 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.134 H 262.4°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#234996
RGBrgb(35, 73, 150)
HSLhsl(220, 62%, 36%)
HSVhsv(220, 77%, 59%)
CMYKcmyk(76.7%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.53, 15.09, -46.19)
CIE-LCHlch(32.53, 48.59, 288.10°)
OKLaboklab(42.35% -0.0176 -0.1328)
OKLCHoklch(42.35% 0.134 262.4)
XYZxyz(8.5787, 7.3235, 29.8097)
Luminance0.0732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234996 #967023
analogous
#238396 #234996 #372396
triadic
#234996 #962349 #499623
tetradic
#234996 #962383 #967023 #239637
square
#234996 #962383 #967023 #239637
split-complementary
#234996 #963723 #839623
monochromatic
#0C1933 #173164 #234996 #2F61C8 #5B84D9

Accessibility & contrast

On white

8.52
#234996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #234996
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234996#FFFFFF#000000##FFFFFF
##2349961.008.522.468.52
#FFFFFF8.521.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5299
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #234996;
/* rgb */ color: rgb(35, 73, 150);
/* oklch */ color: oklch(42.4% 0.134 262.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bb5',
    500: '#234996',
    950: '#000000',
  },
}
SCSS
$custom: #234996;
$custom-light: #6f7bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#234996",
  "rgb": {
    "r": 35,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 220.174,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42352,
    "c": 0.13398,
    "h": 262.4
  },
  "luminance": 0.07324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #234996

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

Preview Lab → · Contrast checker → · Palette generator →

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