#233098#233098

#233098 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.168 H 270.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).

Color values

HEX#233098
RGBrgb(35, 48, 152)
HSLhsl(233, 63%, 37%)
HSVhsv(233, 77%, 60%)
CMYKcmyk(77%, 68.4%, 0%, 40.4%)
CIE-LABlab(25.97, 32.73, -58.10)
CIE-LCHlch(25.97, 66.68, 299.40°)
OKLaboklab(37.51% 0.0004 -0.1681)
OKLCHoklch(37.51% 0.168 270.1)
XYZxyz(7.4156, 4.7374, 30.2233)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#233098 #988B23
analogous
#236B98 #233098 #512398
triadic
#233098 #982330 #309823
tetradic
#233098 #98236B #988B23 #239851
square
#233098 #98236B #988B23 #239851
split-complementary
#233098 #985123 #6B9823
monochromatic
#0C1135 #182066 #233098 #2E40CA #5C6AD9

Accessibility & contrast

On white

10.78
#233098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#233098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #233098
10.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##233098#FFFFFF#000000##FFFFFF
##2330981.0010.781.9510.78
#FFFFFF10.781.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003896
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #233098;
/* rgb */ color: rgb(35, 48, 152);
/* oklch */ color: oklch(37.5% 0.168 270.1);
Tailwind
colors: {
  custom: {
    50: '#7268b7',
    500: '#233098',
    950: '#000000',
  },
}
SCSS
$custom: #233098;
$custom-light: #7268b7;
$custom-dark: #000000;
JSON
{
  "hex": "#233098",
  "rgb": {
    "r": 35,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 233.333,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.37506,
    "c": 0.16811,
    "h": 270.1
  },
  "luminance": 0.04738
}

Semantic roles & 50–950 ramp

primary
#233098
secondary
#BEB359
accent
#D342E6
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #233098

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

Preview Lab → · Contrast checker → · Palette generator →

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