#233C95#233C95

#233C95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.5% C 0.149 H 267.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#233C95
RGBrgb(35, 60, 149)
HSLhsl(227, 62%, 36%)
HSVhsv(227, 77%, 58%)
CMYKcmyk(76.5%, 59.7%, 0%, 41.6%)
CIE-LABlab(28.79, 23.57, -51.64)
CIE-LCHlch(28.79, 56.77, 294.53°)
OKLaboklab(39.5% -0.0074 -0.1491)
OKLCHoklch(39.5% 0.149 267.2)
XYZxyz(7.7319, 5.7581, 29.1319)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233C95 #957C23
analogous
#237595 #233C95 #432395
triadic
#233C95 #95233C #3C9523
tetradic
#233C95 #952375 #957C23 #239543
square
#233C95 #952375 #957C23 #239543
split-complementary
#233C95 #954323 #759523
monochromatic
#0C1432 #172863 #233C95 #2F50C7 #5A76D8

Accessibility & contrast

On white

9.76
#233C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#233C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233C95
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233C95#FFFFFF#000000##FFFFFF
##233C951.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005262
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #233c95;
/* rgb */ color: rgb(35, 60, 149);
/* oklch */ color: oklch(39.5% 0.149 267.2);
Tailwind
colors: {
  custom: {
    50: '#7071b5',
    500: '#233c95',
    950: '#000000',
  },
}
SCSS
$custom: #233c95;
$custom-light: #7071b5;
$custom-dark: #000000;
JSON
{
  "hex": "#233c95",
  "rgb": {
    "r": 35,
    "g": 60,
    "b": 149
  },
  "hsl": {
    "h": 226.842,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39504,
    "c": 0.14927,
    "h": 267.2
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#233C95
secondary
#BDA657
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #233C95

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

Preview Lab → · Contrast checker → · Palette generator →

#233C95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva