#233995#233995

#233995 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.153 H 268.0°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#233995
RGBrgb(35, 57, 149)
HSLhsl(228, 62%, 36%)
HSVhsv(228, 77%, 58%)
CMYKcmyk(76.5%, 61.7%, 0%, 41.6%)
CIE-LABlab(27.99, 25.61, -52.96)
CIE-LCHlch(27.99, 58.83, 295.81°)
OKLaboklab(38.9% -0.0053 -0.153)
OKLCHoklch(38.9% 0.153 268)
XYZxyz(7.5792, 5.4527, 29.0810)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233995 #957F23
analogous
#237295 #233995 #462395
triadic
#233995 #952339 #399523
tetradic
#233995 #952372 #957F23 #239546
square
#233995 #952372 #957F23 #239546
split-complementary
#233995 #954623 #729523
monochromatic
#0C1332 #172663 #233995 #2F4CC7 #5A72D8

Accessibility & contrast

On white

10.04
#233995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#233995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233995
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233995#FFFFFF#000000##FFFFFF
##2339951.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004898
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #233995;
/* rgb */ color: rgb(35, 57, 149);
/* oklch */ color: oklch(38.9% 0.153 268.0);
Tailwind
colors: {
  custom: {
    50: '#706fb5',
    500: '#233995',
    950: '#000000',
  },
}
SCSS
$custom: #233995;
$custom-light: #706fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#233995",
  "rgb": {
    "r": 35,
    "g": 57,
    "b": 149
  },
  "hsl": {
    "h": 228.421,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38903,
    "c": 0.15308,
    "h": 268
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#233995
secondary
#BDA957
accent
#C643E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233995

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

Preview Lab → · Contrast checker → · Palette generator →

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