#232245#232245

#232245 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.064 H 282.6°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#232245
RGBrgb(35, 34, 69)
HSLhsl(242, 34%, 20%)
HSVhsv(242, 51%, 27%)
CMYKcmyk(49.3%, 50.7%, 0%, 72.9%)
CIE-LABlab(15.12, 11.29, -21.93)
CIE-LCHlch(15.12, 24.67, 297.25°)
OKLaboklab(27.27% 0.0139 -0.0621)
OKLCHoklch(27.27% 0.064 282.6)
XYZxyz(2.3390, 1.9309, 5.8785)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#232245 #444522
analogous
#223245 #232245 #342245
triadic
#232245 #452322 #224523
tetradic
#232245 #452232 #444522 #224534
square
#232245 #452232 #444522 #224534
split-complementary
#232245 #453422 #324522
monochromatic
#0A0A14 #0E0E1C #232245 #38366E #4D4A97

Accessibility & contrast

On white

15.15
#232245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#232245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #232245
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##232245#FFFFFF#000000##FFFFFF
##2322451.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142746
Deuteranopia (green-blind)
#132544
Tritanopia (blue-blind)
#182930
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #232245;
/* rgb */ color: rgb(35, 34, 69);
/* oklch */ color: oklch(27.3% 0.064 282.6);
Tailwind
colors: {
  custom: {
    50: '#605c79',
    500: '#232245',
    950: '#000000',
  },
}
SCSS
$custom: #232245;
$custom-light: #605c79;
$custom-dark: #000000;
JSON
{
  "hex": "#232245",
  "rgb": {
    "r": 35,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 241.714,
    "s": 33.981,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2727,
    "c": 0.06363,
    "h": 282.6
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#232245
secondary
#77794A
accent
#CA5EC7
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#050409
muted
#79797B

Preview Lab

Preview with #232245

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

Preview Lab → · Contrast checker → · Palette generator →

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