#234099#234099

#234099 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.7% C 0.150 H 266.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#234099
RGBrgb(35, 64, 153)
HSLhsl(225, 63%, 37%)
HSVhsv(225, 77%, 60%)
CMYKcmyk(77.1%, 58.2%, 0%, 40%)
CIE-LABlab(30.21, 22.40, -51.77)
CIE-LCHlch(30.21, 56.41, 293.40°)
OKLaboklab(40.67% -0.0102 -0.1494)
OKLCHoklch(40.67% 0.15 266.1)
XYZxyz(8.2743, 6.3231, 30.9152)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#234099 #997C23
analogous
#237B99 #234099 #412399
triadic
#234099 #992340 #409923
tetradic
#234099 #99237B #997C23 #239941
square
#234099 #99237B #997C23 #239941
split-complementary
#234099 #994123 #7B9923
monochromatic
#0C1635 #182B67 #234099 #2E55CB #5D7BDA

Accessibility & contrast

On white

9.27
#234099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#234099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #234099
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##234099#FFFFFF#000000##FFFFFF
##2340991.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005666
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #234099;
/* rgb */ color: rgb(35, 64, 153);
/* oklch */ color: oklch(40.7% 0.150 266.1);
Tailwind
colors: {
  custom: {
    50: '#7074b8',
    500: '#234099',
    950: '#000000',
  },
}
SCSS
$custom: #234099;
$custom-light: #7074b8;
$custom-dark: #000000;
JSON
{
  "hex": "#234099",
  "rgb": {
    "r": 35,
    "g": 64,
    "b": 153
  },
  "hsl": {
    "h": 225.254,
    "s": 62.766,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.14976,
    "h": 266.1
  },
  "luminance": 0.06324
}

Semantic roles & 50–950 ramp

primary
#234099
secondary
#BEA659
accent
#BE42E6
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #234099

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

Preview Lab → · Contrast checker → · Palette generator →

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