#234198#234198

#234198 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.147 H 265.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#234198
RGBrgb(35, 65, 152)
HSLhsl(225, 63%, 37%)
HSVhsv(225, 77%, 60%)
CMYKcmyk(77%, 57.2%, 0%, 40.4%)
CIE-LABlab(30.41, 21.33, -50.85)
CIE-LCHlch(30.41, 55.14, 292.76°)
OKLaboklab(40.79% -0.011 -0.1467)
OKLCHoklch(40.79% 0.147 265.7)
XYZxyz(8.2489, 6.4040, 30.5010)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234198 #987A23
analogous
#237C98 #234198 #3F2398
triadic
#234198 #982341 #419823
tetradic
#234198 #98237C #987A23 #23983F
square
#234198 #98237C #987A23 #23983F
split-complementary
#234198 #983F23 #7C9823
monochromatic
#0C1635 #182C66 #234198 #2E56CA #5C7CD9

Accessibility & contrast

On white

9.21
#234198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#234198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234198
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234198#FFFFFF#000000##FFFFFF
##2341981.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004296
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #234198;
/* rgb */ color: rgb(35, 65, 152);
/* oklch */ color: oklch(40.8% 0.147 265.7);
Tailwind
colors: {
  custom: {
    50: '#7075b7',
    500: '#234198',
    950: '#000000',
  },
}
SCSS
$custom: #234198;
$custom-light: #7075b7;
$custom-dark: #000000;
JSON
{
  "hex": "#234198",
  "rgb": {
    "r": 35,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 224.615,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40791,
    "c": 0.14707,
    "h": 265.7
  },
  "luminance": 0.06405
}

Semantic roles & 50–950 ramp

primary
#234198
secondary
#BEA459
accent
#BC42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234198

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

Preview Lab → · Contrast checker → · Palette generator →

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