#234197#234197

#234197 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.146 H 265.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#234197
RGBrgb(35, 65, 151)
HSLhsl(224, 62%, 36%)
HSVhsv(224, 77%, 59%)
CMYKcmyk(76.8%, 57%, 0%, 40.8%)
CIE-LABlab(30.33, 20.94, -50.36)
CIE-LCHlch(30.33, 54.54, 292.57°)
OKLaboklab(40.71% -0.0111 -0.1452)
OKLCHoklch(40.71% 0.146 265.6)
XYZxyz(8.1674, 6.3714, 30.0715)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234197 #977923
analogous
#237B97 #234197 #3F2397
triadic
#234197 #972341 #419723
tetradic
#234197 #97237B #977923 #23973F
square
#234197 #97237B #977923 #23973F
split-complementary
#234197 #973F23 #7B9723
monochromatic
#0C1634 #172C65 #234197 #2F56C9 #5B7CD9

Accessibility & contrast

On white

9.23
#234197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#234197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234197
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234197#FFFFFF#000000##FFFFFF
##2341971.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#004295
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234197;
/* rgb */ color: rgb(35, 65, 151);
/* oklch */ color: oklch(40.7% 0.146 265.6);
Tailwind
colors: {
  custom: {
    50: '#7075b6',
    500: '#234197',
    950: '#000000',
  },
}
SCSS
$custom: #234197;
$custom-light: #7075b6;
$custom-dark: #000000;
JSON
{
  "hex": "#234197",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 224.483,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.14567,
    "h": 265.6
  },
  "luminance": 0.06372
}

Semantic roles & 50–950 ramp

primary
#234197
secondary
#BEA358
accent
#BB42E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234197

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

Preview Lab → · Contrast checker → · Palette generator →

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